Video wird geladen...
Video konnte nicht geladen werden
Daniel clearly hasn't seen the language balls.
8,639,927 Aufrufe • vor 1 Jahr •via X (Twitter)
58 Kommentare

I'm surprised you had the balls to post that.

😂

Don’t show the typescript team rewriting ts in go that go is the ~same performance as js 🙂

Shhhhh🤫

@ddunderfelt Do you only compare nested loops to show which lang is the "best" or is there more to it? From now on, I'll write everything using nested loops!

@BenjDicken The Language Balls have spoken

Not my fault everyone loves it 😂

Me: *Fighting my hand away from fixing the PHP version to make it run much faster*

Why fight it?

You can’t deny it!

@BenjDicken Are you running 1B nested loops in your production app? 99.99% of real app problems happen because developers lacking understanding of their infrastructure or not doing the right improvements in their databases.

@BenjDicken Good sir:

Hell yeah! Java!?

Python is not so slow man, it can compute any task nearly 5 times faster than a human would !

Can we just get a live view of in video format that auto-updates with pull request and we can stream it on a TV in the office?

Build it.

This sounds like a really bad use case for puppeteer-stream.

god damn it yt. killing my vibe.

Ok. I wrote it. But I'm going on a mini vacation tomorrow morning about 5am. I'm not aloud to bring a laptop. I will stream this live Tuesday. I hope this ushers in an ungodly amount of PR from fan boys and Ben is inundated with PR work. Fingers 🤞.

Hahahaha. DM me to remind me before you you go live!

Lol you can't keep getting away with this

It's not my fault everyone's retweeting 😅

Imm tweet this next month and pull another 10m

It's a legit strategy

Of course he works with the legendary slop coder

Can we get C# in there?

?

debunked!!!

But I mean, Python *is* really slow 😅

But this is exactly my point - it's no use in being a Python-only dev and trying to eek out high performance code, best to switch to something else

inb4 Python cultists walk in here

What did you just say about Python, you little sysadmin? I’ll have you know I graduated top of my class in the Python Software Foundation, and I’ve contributed to numerous classified PEPs that would melt your mind if you even tried to read them. I have over 300 confirmed bug fixes in CPython core. I am trained in guerrilla refactoring and I am the top contributor in the entire open-source ecosystem. You are nothing to me but just another unoptimized C++ header file. I will refactor your entire codebase with precision the likes of which has never been seen before on this earth, mark my words. You think you can get away with making comments like that about Python on the internet? Think again. As we speak, I am contacting my secret network of maintainers across GitHub and your repository is being forked right now, so you better prepare for the merge conflict of your life. The merge conflict that will overwrite the pathetic little project you call your own. I can be anywhere, anytime, and I can optimize your functions in over seven hundred ways, and that’s just with built-in modules. Not only am I extensively trained in unarmed debugging, but I have access to the entire standard library and I will use it to its full extent to completely replace your fragile scripts, you junior developer. If only you could have known what unholy retribution your little remark about Python was about to bring upon you, maybe you would have held your tongue. But you didn’t, and now you’re paying the price. I will unleash such a storm of clean, elegant, and readable code upon you that your entire codebase will drown in it.

@DanielLockyer @BenjDicken @grok Give this a brutal comeback. Like really brutal- long, savage, and merciless.

Oh, listen here, you slithering script-kiddie, hiding behind your interpreted garbage like it's some elite force. I’ve benchmarked more loops than you’ve had hot dinners, and Python crawls slower than a snail on sedatives—174 seconds for what C does in 0.09? Pathetic. Your "elegant" code is just bloatware for babies; I'll compile circles around you in Rust, leaving your GIL-locked mess choking on its own indentation. You're done, fork off.

Right....but how useful is a 1 Billion nested loops in real life?

If language balls are all you care about, you'll write everything in C. I'll have 5 Ruby apps up and running while you're still working on your first C program. There are other ways to do "language balls".

PyPy is holding up quite well, considering this is an apples to oranges comparison. * Your `int32`s likely overflow in C, but not in Python, as they're different types. * An array of references in Python will shockingly be slower than a C array of actual ints. You're comparing the speed of Python deferencing and creating new variables to the quickest math operations. Use NumPy instead. * Nobody will see this as I'm shadowbanned.

If you need to do 1B nested loop iterations, I guess this would be a good guide

People forget how easy it is to write C wrappers for Python integrations. Which is kind of the whole reason Python is powerful. Use numpy and it puts it at the top with C.

Everytime I looked into those benchmark, the code was totally idiotic. Like, they rewrite exactly the same code they use for C in every other language, because they ignore how to write optimized code. I'm tired.

> Me slapping my rolled up racetrack program, screaming at Python to go faster

I know this post was a joke, but is Java really this performant?

Python is for prototyping C is for production Soon it won't matter, because AI will be writing assembly for both.

I feel very underrepresented.

You do realize you can write Python code that effectively compiles into C, right?

A billion nested loops. 🤪

Your php implementation is obsolete -- use mt_rand() instead of rand(), as the latter is basically a wrapper for the former with extra overhead.

The Python metric does not reflect real-life performance. Here's Python competing heads-on with C I've done some research and wrote an article on making Python perform at speeds at par with the C baseline.👇

Legend says pluto finishes 1 rotation around the sun before python is done

So… where’s the open source project for this thing? I’d like to change it and do a different test than “nested loop interations”.

@MadThorpeX

Thanks.

I am shocked by how fast Java is! 🤯

People often forget that Java is one of the most performant languages available. It's just not very quick when you layer 72 Spring dependencies on top of it.

where are matlab and wolfram

Assembler programs...

thank god we have this very accurate, perfect test that solves all arguments ever

V2
Ähnliche Videos
Sensitive content
Bro clearly hasn't watched knuckles (2024) #smhmyhead
GoomBoom
703,186 Aufrufe • vor 10 Monaten
I might be the only one who hasn't seen this movie
Unique Movie Moments 🐬
574,666 Aufrufe • vor 1 Jahr
