Is JSON Blazingly Fast or...?

  Рет қаралды 183,887

ThePrimeagen

ThePrimeagen

Жыл бұрын

Is Json really that slow? Can the most popular interchange format really be that bad?
Twitch
Everything is built live on twitch
Twitch : bit.ly/3xhFO3E
Discord: discord.gg/ThePrimeagen
Spotify DevHour: open.spotify.com/show/4MLaDrQ...
Editor
All my videos are edited by Flip. Give him a follow! / flipmediaprod He is also open to do more editing, so slide deeeeeeeeep into his dms.
Join this channel to get access to perks:
/ @theprimeagen
Links
Linode: linode.com/prime
/ discord
Twitch: / theprimeagen
Insta: / theprimeagen
Twitter: / theprimeagen
VimRC & i3: github.com/ThePrimeagen/.dotf...
Keyboard 15% off bit.ly/Prime360 USE CODE PRIME360
#vim #programming #softwareengineering

Пікірлер: 772
@ginowadakekalam
@ginowadakekalam Жыл бұрын
JSON is like the python of language, slow but convenient to use
@ThePrimeagen
@ThePrimeagen Жыл бұрын
I think this is the perfect description
@worstfellow
@worstfellow Жыл бұрын
We want to know more about JSON alternatives
@tattipodapatti
@tattipodapatti Жыл бұрын
@@worstfellow Yes, but definitely not XML
@nature-.
@nature-. Жыл бұрын
@@tattipodapatti yes even non programmers can understand JSON easily, government of india is using it in websites like income tax for the users to download as json
@guruji-.
@guruji-. Жыл бұрын
@@codyking9491 yes already we have too many javascript frameworks don’t want too many data formats 😅
@CemKavuklu
@CemKavuklu Жыл бұрын
These videos are getting better and better both in quality and entertainment factor :)
@ThePrimeagen
@ThePrimeagen Жыл бұрын
That's what I like to hear
@vaisakhkm783
@vaisakhkm783 Жыл бұрын
@@ThePrimeagen to bad you cannot 'hear' that... unless you made a speech to text app in RuSt... :) edit: text to speech
@oliverchalkley1187
@oliverchalkley1187 Жыл бұрын
@@vaisakhkm783 if he had then it would have been blazingly fast
@MrMw1979
@MrMw1979 Жыл бұрын
Great video. Thanks for introducing me to Deku. I think there is a lot of information left out here. I'm gonna outline my opinions below even if they don't matter: 1. JSON is not for computers it's for humans. Trouble shooting binary requests isn't easy. 2. GZIP compression can greatly reduce the bytes over the wire. JSON with lots of repeating keys can greatly benefit from gzip. 3. A lot of the time the database is your actual bottleneck and serialization doesn't matter for performance. In fact, 1,600 requests per second is more than most companies/services will ever see. 4. Having the document define the schema allows for flexible data. You can't just send arbitrary data with a binary protocol. This has pros/cons. For a public facing web service that only receives a couple thousand requests per second I would pick JSON over any other structured binary protocol almost every time. Yes there is a cost to simplicity but there is also a cost to complexity. Make it easy for internal (engineers) and external (users) to troubleshoot. Just use JSON unless you have identified that serialization is the bottleneck in your endpoint.... For most endpoints/services, I would wager serialization is not the bottleneck.
@vaisakhkm783
@vaisakhkm783 Жыл бұрын
things like scientific applications involving high density of data collected in small amount of time(rocket controls, explotions tests..), and things that are inherintly binary(vnc), JSON is not a good choice anything involving man, it's good to use JSON
@evasiveutopian
@evasiveutopian Жыл бұрын
to your 3rd point. It was even greater 1,600 requests per milliseconds ~ which would be 1,600,000 requests per second
@alkolaqi83
@alkolaqi83 Жыл бұрын
on point
@odnoletkov
@odnoletkov Жыл бұрын
Comments like this keep my hope in the humanity
@thekwoka4707
@thekwoka4707 Жыл бұрын
Why gzip when we can Brotli?
@scottiedoesno
@scottiedoesno Жыл бұрын
BLAZINGLY SLOW. Thanks for another great technical video! I hadn't actually thought about it until now, but this explains perfectly why we use protobuf so much in embedded work
@ThePrimeagen
@ThePrimeagen Жыл бұрын
Absolutely. By the way, I haven't responded to your discord message. I'm on a flight to meet my boss right now, and then I'll be able to update you
@scottiedoesno
@scottiedoesno Жыл бұрын
@@ThePrimeagen Thanks a ton. Have a safe flight and hope the meeting goes well
@skyamaz5913
@skyamaz5913 Жыл бұрын
@@ThePrimeagen you have a boss? thought ur the boss
@dickheadrecs
@dickheadrecs Жыл бұрын
blazingly slow is the new blazingly fast
@DaddyFrosty
@DaddyFrosty Жыл бұрын
@@dickheadrecs I just heard that sentence with Fireships voice thanks for making my day
@ThePrimeagen
@ThePrimeagen Жыл бұрын
Hey, did you like the video? I really enjoy making this kind of content. That's fun. Do you think I should do something with promises? (MAKE A COMMENT, Do not respond, KZbin has the worst notifications)
@codewithguillaume
@codewithguillaume Жыл бұрын
I think you should learn french
@VanDelao
@VanDelao Жыл бұрын
It would be nice to see a video comparing sending JSON/XML/Apache Avro/Protobuf over the wire with Rust/Go/JS. Great video, as always;
@ebrelus7687
@ebrelus7687 Жыл бұрын
Absolutely must happen
@es68951
@es68951 Жыл бұрын
For sure. I am also curious why “deku” instead of using exactly Avro or Protobuf. This approach doesn’t seem to take into account forward/backward compatibility, unless I missed something?
@filipebraganca2558
@filipebraganca2558 Жыл бұрын
It kinda landed right at the best moment, as I'm trying to improve the performance of our microservices where are transferring millions of JSON messages and can see the real cost of JSON serialize/deserialization growing super fast. I was studying GRPC and just learned about this protobuf here, thanks again for sharing this kind of content!!!
@asdqwe4427
@asdqwe4427 Жыл бұрын
GRPC is wonderful. And reading the proto files is so much better than working with swagger
@Ether_Void
@Ether_Void Жыл бұрын
There is actually a successor to GRPC & Protobuf called Cap’n Proto. Afaik it's made by the same person but they are no longer working for Google. It's faster because Cap'n Protos RPC can "travel back in time" (send a rpc using the output of a another call before the call has even finished) and it does direct in-memory modification rather than adding extra encoding & decoding steps. You of course keep the benefit of having a separate protocol definition that can be used across multiple languages.
@ko-Daegu
@ko-Daegu Жыл бұрын
@@Ether_Void “before call is even finished” sounds cool but also scary this rings so many alarms in my head as a security analyst
@dealloc
@dealloc Жыл бұрын
Binary formats are difficult to maintain and scale at certain points, as ThePrimeagen notes, it's also not easy to version; you'll have to change your parser to read data correctly, or know where to take up unused space to give room for future improvements without breaking the protocol. But it's really good for real-time systems that need to deliver a lot of data in a small amount of time. For example game servers where feedback should be fast and responsive both on the client and across other clients with different network conditions at 60fps, while also dealing with other systems like rendering.
@ko-Daegu
@ko-Daegu Жыл бұрын
Protobuf then?
@alexgochenour8740
@alexgochenour8740 Жыл бұрын
I can't stop loving this content. JSON is something I use daily but never really think about. A deeper than usual deep dive, yet still accessible. Thank you my good man
@ThePrimeagen
@ThePrimeagen Жыл бұрын
ty ty ty
@MantasJurkuvenas
@MantasJurkuvenas Жыл бұрын
As an embedded C engineer i love efficient code. I think JavaScript is the evidence of the decline of our civilization.
@ThePrimeagen
@ThePrimeagen Жыл бұрын
Facts
@andersoncunha7079
@andersoncunha7079 Жыл бұрын
looking at the comments: seems most people consume messages without checking what they are ingesting (some even say that is the safe way), never heard of network endianness, didn't realize a few bits in the beginning of the frame can specify version, size and any other desirable property, don't know what rpc is, think computers should communicate in human, and the list goes on... so I think you are right.
@virtuosisimo
@virtuosisimo 3 ай бұрын
I'm with you man, I have an embedded arm Linux mature project I recently spend some time optimizing code that the GCC profiler marked as high usage. There is some json in the project, this video makes me want to rethink it, so the device runs more cool, other people don't this beneficial, but I don't see the benefit of heating the atmosphere
@camillenovak8359
@camillenovak8359 Жыл бұрын
These types of videos are super valuable and I really appreciate the way you go into the technicalities and explain these topics. Loving the format!
@Dayun123
@Dayun123 Жыл бұрын
Absolutely loving these performance deep dives! Keep ‘em comin!
@BlueeyesChineseguy
@BlueeyesChineseguy Жыл бұрын
For the algo
@ThePrimeagen
@ThePrimeagen Жыл бұрын
For the thankfulness
@drborisyum9977
@drborisyum9977 Жыл бұрын
Love this form of content Prime! 👍 You make harder concepts (for me anyway) as digestible as possible! So invaluable.
@kortes8914
@kortes8914 Жыл бұрын
Your production quality has gone up and the humor is on point. Today I decided to subscribe! I can officially say that I like this channel now :) great content my dude!
@js-ny2ru
@js-ny2ru Жыл бұрын
Recently I was comparing Deno and Rust. What surprised me was how much simple JSON response weigh...
@ThePrimeagen
@ThePrimeagen Жыл бұрын
People just don't realize how expensive simplicity is
@enclave2k1
@enclave2k1 Жыл бұрын
@@ThePrimeagen I'm a simple man; consequently, an expensive one as well.
@notsojharedtroll23
@notsojharedtroll23 Жыл бұрын
@@enclave2k1 xd
@arkayv
@arkayv Жыл бұрын
I think JSONs fall into the same pitfalls as document storage DBs. They are so easy to understand and implement, yet so goddamn hard to let go off even after you learn about better and BLAZINGLY FAST-er alternatives (like good ol' postgres or protobufs in this case). This requires a change in mentality more than anything. I suppose old habits die hard.
@ThePrimeagen
@ThePrimeagen Жыл бұрын
Exactly. Simplicity is amazing. I cannot stress that enough. But it also costs a lot.
@GeekMasher
@GeekMasher Жыл бұрын
Amazing video as always, please keep them up!
@paulgupta2454
@paulgupta2454 10 ай бұрын
been watching a lot of your videos, I feel like your newer 'hot take' videos on blogs are fine and all, but you're a good teacher and I'd like to see more of these more informative/objective vids from you because you're a pretty good teacher when you do this sort of content!
@thehibbi
@thehibbi Жыл бұрын
Very informative and comedic video, thanks :) Keep up the good work TheScienceagen
@headlights-go-up
@headlights-go-up Жыл бұрын
Really enjoyed this. It just seems like, for better or for worse, the ease and convenience of JSON trumps everything else.
@sunnyheheheh9401
@sunnyheheheh9401 Жыл бұрын
Your jokes in this type of developer/programming videos is funny and unique and I would love to see more of em keep up the good work.
@localboxcrox
@localboxcrox Жыл бұрын
i love that akame wallpaper behind your transparent terminal with nvim open. nice touch.
@laupetre
@laupetre Жыл бұрын
I really enjoy these comparison videos, especially with your humor.
@Omikronik
@Omikronik Жыл бұрын
I interned at an insurance company where the way they received new insurance data was through a single string that was about 5000 characters long and parsed it by slicing that string at intervals and it almost always caused issues with encoding because it used ascii encoding and all the responses were in utf-8 so it had a billion safeguards that would always break when someone entered a non ascii character. I'd say it doesnt get more blazingly fast than this but its written in the most cursed and blazingly slow C# code ive ever seen in my limited experience. Best part is they moved to c# from java like 7 years ago but just kept this system instead of rewriting it to use xml or "jizzle"
@alexandrosvangelatos9979
@alexandrosvangelatos9979 Жыл бұрын
Love your videos dude! What's with the dancing squirrel 💃🐿️? 🤣🤣🤣 Good one!
@diegolikescode
@diegolikescode Жыл бұрын
Prime, these videos make us all better programmers. Thank you so much, I have been so much healthier programming and having fun doing it just because of your content, and that makes me a much better programmer
@ThePrimeagen
@ThePrimeagen Жыл бұрын
Love to hear that giga Chad
@OcarinaOfVali
@OcarinaOfVali Жыл бұрын
holy gigachad comment
@moodynoob
@moodynoob Жыл бұрын
Loving this series! This is great content covering topics that aren't too easy to find, most of YT is for junior devs.
@mariumbegum7325
@mariumbegum7325 Жыл бұрын
Great video, some interesting points mentioned here. Looking forward to seeing more
@zeachco
@zeachco Жыл бұрын
I just love your content, it's smart, useful, in dept and quite entertaining!
@muhamedkarajic
@muhamedkarajic 5 ай бұрын
Exactly what I was looking for. Thank you!
@calder-ty
@calder-ty Жыл бұрын
Love these style videos. Keep it up!
@ThePrimeagen
@ThePrimeagen Жыл бұрын
Thank you. I feel like it's a fun break from the VIM content
@wety789
@wety789 Жыл бұрын
I love this style of video! The live stuff is neat as well but I find these are much easier to focus on
@nikensss
@nikensss Жыл бұрын
Loved it, thanks for this type of videos
@christophergruendell8089
@christophergruendell8089 6 ай бұрын
The lab coat and theme when you went all sciency gave me serious Garand Thumb vibes. I love it. You guys even kind of look like each other.
@gayedemiray
@gayedemiray 7 ай бұрын
insanely high quality video. thank you for all the information!
@playea123
@playea123 Жыл бұрын
This is awesome! More of these deep dives please!!
@vedrankaracic265
@vedrankaracic265 Жыл бұрын
Love these videos! Keep 'em coming!
@ThePrimeagen
@ThePrimeagen Жыл бұрын
Trying!
@asdqwe4427
@asdqwe4427 Жыл бұрын
Very cool video 😎 Would be interesting to see jsons position challenged. I wonder how gRPC would compare, as I have never used it in the browser. But, before we hate on JSON, let’s remember that it freed us from XML
@TesterAnimal1
@TesterAnimal1 Жыл бұрын
It didn’t really. All these horrible front end “frameworks” go through linguistic and development hoops to preserve XML. UIs are defined in some bastard munged XML+JS format that can’t be merged. UIs can be described in JSON. But a bunch of HTML authors from 1994 still want to do
@ABaumstumpf
@ABaumstumpf Жыл бұрын
Yeah, it "freed" us from a more structured approach that also supports comments and validation....
@lydianlights
@lydianlights Жыл бұрын
@@ABaumstumpf you dont need to send comments over API requests, lol. XML is fine for a lot of cases if you like it, but it makes no sense to use it for network traffic.
@ABaumstumpf
@ABaumstumpf Жыл бұрын
@@lydianlights "you dont need to send comments over API requests" Who said anything about API request?? "but it makes no sense to use it for network traffic." Then that applies exactly the same to Json.
@lydianlights
@lydianlights Жыл бұрын
@@ABaumstumpf ...the whole video was about network traffic... ...thats what the original comment was about...
@camenraidercc6625
@camenraidercc6625 Жыл бұрын
Hi Man! So it's been a couple of weeks since you started to appear in my recomendations, for some reason KZbin is suggesting me all your VIM videos, now i don't give a damn about VIM and i didn't found the thumbnail any interesting so i decided to ignore it, but today it suggested me this one....so i watched it.....and now i've watched almost all of your videos :D This is very good and entertaining content, keep up the good work ( i'm still not gonna watch the VIM videos btw )
@MrBaudin
@MrBaudin Жыл бұрын
Great video, please do more subjects in depth. These nuggets of knowledge help us all! Thank you.
@stryhx
@stryhx Жыл бұрын
damn! that sub request was really well placed and timed! nice one!
@victorvirgiliocalderonsoto8689
@victorvirgiliocalderonsoto8689 Жыл бұрын
I loved this video! Thank you Primeagen
@st-jn2gk
@st-jn2gk Жыл бұрын
W video, more more more. Too many videos out there aimed at beginners, very few aimed at intermediates (other than theo and fireship). Love the content. Love the streams. Good job dad.
@Guilherme-qk9so
@Guilherme-qk9so Жыл бұрын
your technical videos are so good!
@suic86
@suic86 Жыл бұрын
This was great. I can't wait for more videos like this.
@7xr1e20ln8
@7xr1e20ln8 Жыл бұрын
Dude this guy is on another level. Love your videos.
@0e0
@0e0 2 ай бұрын
I really love this sort of content from you
@echobucket
@echobucket Жыл бұрын
As someone who tried writing this kind of stuff back before JSON and even before XML, the reason we went with this stuff was for debugging purposes. At the time it was so nice to just watch the stuff on the wire, and be able to have it be human readable. However, I would argue this was mostly because there was not a de-facto binary protocol well understood by common tooling. I think it's entirely possible for us to have a nice binary encoding that our tooling (things like wireshark, Charles proxy, Chrome dev tools) could read and understand without it being fat and bloated like JSON.
@user-px4pk2wd4s
@user-px4pk2wd4s Жыл бұрын
This
@billeterk
@billeterk Жыл бұрын
Insert obligatory xkcd standards cartoon here ;-)
@phoenix-tt
@phoenix-tt Жыл бұрын
I guess it would be really beneficial for the adoption of protobufs as well, if you could just upload a .proto to devtools and see all the underlying data
@WilliamCulver
@WilliamCulver Жыл бұрын
I don't know how I got here guy, but I'm absolutely glad to be here - some slick vim keystrokes, nice editing and explanations. Keep it coming good sir.
@aus10d
@aus10d Жыл бұрын
this was really beneficial and interesting. thanks for posting it. i learned a lot
@adam8685
@adam8685 Жыл бұрын
Love this type of video, I wasn't aware of Deku before watching. I'd be keen to see a breakdown of Protobuf vs Deku We used Twitch's Twirp framework for Golang at a previous company I worked at for exactly this reason
@ahmedeatsplanets
@ahmedeatsplanets Жыл бұрын
This is one of the best videos on programming I've ever seen. I feel enlightened and empowered
@erikuusitalo
@erikuusitalo Жыл бұрын
Awesome stuff. Keep making videos like these.
@waylag9144
@waylag9144 Жыл бұрын
I'm loving the new editing style. not too much but just the right amount of sass
@blackfrog1534
@blackfrog1534 Жыл бұрын
yah yahh, prime is on a roll! This is the best tech content on the internet if you ask me. Would be delighted if you pumped up even more of these. Plus the streams were you write the code for these experiments are so much fun :)
@drilkus1312
@drilkus1312 Жыл бұрын
Crazy timing. My frontend team at work is frequently wondering why we're not doing JSON payload, so i can send this! Super informative, thanks!
@ThePrimeagen
@ThePrimeagen Жыл бұрын
hah! well if your backend is dictating it, they are smert
@TownspersonB
@TownspersonB Жыл бұрын
This was very interesting and something I hadn't really given second thought to when I'd use JSON
@pemedeiros
@pemedeiros Жыл бұрын
For more information on that topic I recommend chapter 4 of Designing Data-Intensive Applications. Really good video :D
@mdfalexis
@mdfalexis Жыл бұрын
This is an algorithmic message to let you know that this type of content is really really appreciated !
@digicyc
@digicyc Жыл бұрын
I absolutely vote for more videos like this, but maybe some more involvement in the creation of the code. Loving it! SO much JSML o_O
@fabianschwarzfritz
@fabianschwarzfritz Жыл бұрын
I like this format! Could be even a bit deeper / more technical and longer :). Anyway, super cool format!
@HYPERLOG
@HYPERLOG Жыл бұрын
0:08 made me laugh way too hard, thank you Mr. Prime
@lastink444
@lastink444 Жыл бұрын
MY GOD, this was so satisfying to watch and listen to
@AlphaWatt
@AlphaWatt Жыл бұрын
Love this kinda content Prime
@pif5023
@pif5023 Жыл бұрын
Yes!!! Gold content!!! I have never heard any other dev talking about serialization encodings!!!!
@tobiasweyer5063
@tobiasweyer5063 Жыл бұрын
This kind of videos are just pure gold and a lot of educational content is in. Thanks for the education and entertainment at the same time. :)
@adrianospiotos364
@adrianospiotos364 Жыл бұрын
More deep dives! These are excellent 🚀
@HaydonRyan
@HaydonRyan Жыл бұрын
This was great - we need more people to think about how efficient programs that run at scale are, as well as how efficient the data we send through the net. There is this horrible trend of as chips and network transmission gets faster to just send things using the least efficient method. I totally agree with your point though on being able to inspect the payload is helpful for debugging what's going on though.
@Sakrosankt-Bierstube
@Sakrosankt-Bierstube Жыл бұрын
The deserialization from json from the requests and the database to serialization to the response are actually in the top 5 of our bottlenecks in the company i work in. 40ms of a 100ms request are just for de-/serialization from/to json.
@ThePrimeagen
@ThePrimeagen Жыл бұрын
That is incredible. And if you're using a garbage collected language, don't forget the effects of garbage collection.
@Sakrosankt-Bierstube
@Sakrosankt-Bierstube Жыл бұрын
@@ThePrimeagen Well, we use Java so... yeah.. xD
@adelarsq
@adelarsq Жыл бұрын
I don't even work with Rust and NodeJS, but it's pretty fun your videos. Keep going!
@JanKammerath
@JanKammerath Жыл бұрын
Anyone else currently looking at a JSON parser and your head constantly screaming "Jéson!"?
@bharathgajjala3437
@bharathgajjala3437 Жыл бұрын
Love these kinda videos
@rafaelgil6895
@rafaelgil6895 Жыл бұрын
I'm, just using "edn" (extensible data notation) by default since it's not only "blazingly" but also "extensibly" fast :D Amazing video btw, like always!
@ThePrimeagen
@ThePrimeagen Жыл бұрын
Tytyty
@aryklein
@aryklein Жыл бұрын
Awesome video. Keep doing that!
@focusEngineered
@focusEngineered Жыл бұрын
I loved this idea, And this is the first time I see how slow is JSON, I never thought about it before Thanks for the great ideas and videos, Please keep up the good work I love watching your videos, it is useful, funny and interesting to me
@YatesyTea
@YatesyTea Жыл бұрын
Thank you for this one, was really informative to me. Can't believe I wasn't taught this in University 😂
@guidoambrosino693
@guidoambrosino693 Жыл бұрын
I really liked the video. Keep it up Prime
@sammysheep
@sammysheep Жыл бұрын
Excellent work, Dr. Prime!
@ToukiMS
@ToukiMS Жыл бұрын
As a french dev, hearing you say "jason" makes me giggle in the weirdeist way 😅 Your more technical videos are so great, kudos !
@ThePrimeagen
@ThePrimeagen Жыл бұрын
Will do, and I will never let JSON be said any other way
@franswaweingartz2162
@franswaweingartz2162 10 ай бұрын
Thank you this was very usefull :)
@dandreani
@dandreani Жыл бұрын
having just seen Mark Robber's last Olympiad for squirrels. I can appreciate the squirrel for science...
@ThePrimeagen
@ThePrimeagen Жыл бұрын
Science squirrels are incredibly important
@bsqrd
@bsqrd Жыл бұрын
I would like to take a moment and say the videos you put out are excellent, both in educational and entertainment value. Very much appreciated! ✨BLAZINGLY AWESOME ✨
@itjustworks4824
@itjustworks4824 Жыл бұрын
Keep them coming !!! Lets make blazingly synonym for ThePrimeagen
@yxtqwf
@yxtqwf Жыл бұрын
I think another benefit of JSON (though it may not be as relevant in this example as in, say, a web application) over any binary format is that it is immediately readable to any user. I can't count the number of scripts or alternative clients I've been able to write just by inspecting the JSON data a website sends. A universal, plain-text format like JSON frees the potential of how software is used from just the developer and places some choice in the hands of the user as well. Another thing, I've found that I really like the TSV (tab-separated values) format for storing any tabular data. It's so simple, effortless to parse, and much more compact compared to JSON or even CSV (the schema is usually just the first line, or can even be omitted). I'm not sure how it would work as a data transfer format, and though I don't see it commonly used, I doubt there would be any significant problems.
@MohitDodhia
@MohitDodhia Жыл бұрын
had to pause at the intro just to mention how smooth that subscriber plug was. ggwp edit: what a great video
@SzTz100
@SzTz100 Жыл бұрын
This was a great video, thank you.
@pauloffborba
@pauloffborba Жыл бұрын
Yeah, the technical videos are great! ❤️
@changuchito69
@changuchito69 Жыл бұрын
love this content, love the sciencegen
@blarghblargh
@blarghblargh Жыл бұрын
There's a Handmade Seattle talk from 2021 called "context is everything" that shows you can get huge speedups if you can tighten your schema, and if you have full control over your tools that do the parsing (down to using native code). JSON imposes a tax in comparison to raw bytes, but you can still get big gains if you can tighten down your schema. Thinking JSON/not JSON in black and white will cost you orders of magnitude. You should consider if you actually need the flexibility of wide-open generic constrains on either the parsing or the generation side.
@ethanwilkes4678
@ethanwilkes4678 Жыл бұрын
This one was a BANGER. Nice job prime
@anthonyh618
@anthonyh618 Жыл бұрын
Really loving this, Prime.
@quintondeanmusic
@quintondeanmusic Жыл бұрын
Great video. Super interesting to see! The “XML is worse” part got me in kidneys. I have to work with shitty XML everyday as a messaging schema between our app and other companies integrations (LEGACYYY). Slow and terrible to work with. The worst of both worlds.
@mosslightstudio
@mosslightstudio Жыл бұрын
love it when the scienceagen comes in to do some blazingly fast research for us all
@ximon-x
@ximon-x Жыл бұрын
I love this man's videos SOOOOOO much. 😅
@amrsaber5457
@amrsaber5457 Жыл бұрын
I really love those performance test videos
@evancornish656
@evancornish656 Жыл бұрын
I loved this, very fun.
@marcelfahle
@marcelfahle Жыл бұрын
Love this.. I'm messing with binary protocols in erlang right now, for some multiplayer shenanigans.. very cool!
@seyofori
@seyofori Жыл бұрын
Loved this!😂
@ChaboOtt
@ChaboOtt Жыл бұрын
Amazing video, love how you pronounce JSON
This Algorithm is 1,606,240% FASTER
13:31
ThePrimeagen
Рет қаралды 703 М.
Vim As Your Editor - Introduction
12:24
ThePrimeagen
Рет қаралды 759 М.
Зомби Апокалипсис  часть 1 🤯#shorts
00:29
INNA SERG
Рет қаралды 7 МЛН
My Best Decision Professionally
5:40
ThePrimeagen
Рет қаралды 138 М.
Looking Under the Hood of JavaScript
6:34
ThePrimeagen
Рет қаралды 174 М.
Mojo - the BLAZINGLY FAST new AI Language? | Prime Reacts
25:18
ThePrimeTime
Рет қаралды 168 М.
How to make TypeScript Blazingly Fast (JavaScript/NodeJS)
12:49
ThePrimeagen
Рет қаралды 111 М.
Programming on TikTok
6:08
ThePrimeagen
Рет қаралды 304 М.
Rust for TypeScript devs : Borrow Checker
8:49
ThePrimeagen
Рет қаралды 210 М.
How Slow Is JavaScript? | Prime Reacts
15:34
ThePrimeTime
Рет қаралды 166 М.
Go is blazingly faster than Zig?
8:44
ThePrimeagen
Рет қаралды 160 М.
Git's Best And Most Unknown Feature
8:14
ThePrimeagen
Рет қаралды 241 М.
iPhone green Line Issue #iphone #greenlineissue #greenline #trending
0:10
Rk Electronics Servicing Center
Рет қаралды 4,5 МЛН
Xiaomi Note 13 Pro по безумной цене в России
0:43
Простые Технологии
Рет қаралды 1,7 МЛН
Save Work Efficiently on Your Computer 18/05/2024
0:51
UNIQUE PHOTO EDITING
Рет қаралды 307 М.
Дени против умной колонки😁
0:40
Deni & Mani
Рет қаралды 3,6 МЛН
wyłącznik
0:50
Panele Fotowoltaiczne
Рет қаралды 11 МЛН
Fiber kablo
0:15
Elektrik-Elektronik
Рет қаралды 6 МЛН
#miniphone
0:18
Miniphone
Рет қаралды 2,9 МЛН