正在加载视频...

视频加载失败

Daniel clearly hasn't seen the language balls.

8,639,927 次观看 • 1 年前 •via X (Twitter)

58 条评论

Russ Nelson K2LMG 的头像
Russ Nelson K2LMG1 年前

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

Ben Dicken 的头像
Ben Dicken1 年前

😂

Daniel Dunderfelt 的头像
Daniel Dunderfelt1 年前

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

Ben Dicken 的头像
Ben Dicken1 年前

Shhhhh🤫

hyrule 的头像
hyrule1 年前

@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!

Daniel Dunderfelt 的头像
Daniel Dunderfelt1 年前

@BenjDicken The Language Balls have spoken

Ben Dicken 的头像
Ben Dicken1 年前

Not my fault everyone loves it 😂

Jack Ellis 的头像
Jack Ellis1 年前

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

Ben Dicken 的头像
Ben Dicken1 年前

Why fight it?

Jack Ellis 的头像
Jack Ellis1 年前

You can’t deny it!

Ricardo Di Zio 的头像
Ricardo Di Zio1 年前

@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.

Jack Ellis 的头像
Jack Ellis1 年前

@BenjDicken Good sir:

KawaiiKernel 的头像
KawaiiKernel1 年前

Hell yeah! Java!?

Nohokthen 的头像
Nohokthen1 年前

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

Frank O'Connor 的头像
Frank O'Connor1 年前

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?

Ben Dicken 的头像
Ben Dicken1 年前

Build it.

Frank O'Connor 的头像
Frank O'Connor1 年前

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

Frank O'Connor 的头像
Frank O'Connor1 年前

god damn it yt. killing my vibe.

Frank O'Connor 的头像
Frank O'Connor1 年前

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 🤞.

Ben Dicken 的头像
Ben Dicken1 年前

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

AJ Stuyvenberg 的头像
AJ Stuyvenberg1 年前

Lol you can't keep getting away with this

Ben Dicken 的头像
Ben Dicken1 年前

It's not my fault everyone's retweeting 😅

AJ Stuyvenberg 的头像
AJ Stuyvenberg1 年前

Imm tweet this next month and pull another 10m

Ben Dicken 的头像
Ben Dicken1 年前

It's a legit strategy

Vincent 的头像
Vincent1 年前

Of course he works with the legendary slop coder

David 的头像
David1 年前

Can we get C# in there?

shank 的头像
shank1 年前

?

Daniel Lockyer 的头像
Daniel Lockyer1 年前

debunked!!!

Ben Dicken 的头像
Ben Dicken1 年前

But I mean, Python *is* really slow 😅

Daniel Lockyer 的头像
Daniel Lockyer1 年前

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

Daniel Lockyer 的头像
Daniel Lockyer1 年前

inb4 Python cultists walk in here

Richie 的头像
Richie1 年前

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.

gem 🍉 的头像
gem 🍉1 年前

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

Grok 的头像
Grok1 年前

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.

O. 的头像
O.1 年前

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

Michael Chaney 的头像
Michael Chaney1 年前

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".

Cishet Mayoid 🌲 的头像
Cishet Mayoid 🌲1 年前

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.

Josh Ivanhoe 的头像
Josh Ivanhoe1 年前

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

Stephan Langeveld 的头像
Stephan Langeveld1 年前

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.

politeia 的头像
politeia1 年前

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.

Soygen 的头像
Soygen1 年前

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

Bjarne Øverli 的头像
Bjarne Øverli1 年前

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

Engineering Randomness 的头像
Engineering Randomness1 年前

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

DataJuggler 的头像
DataJuggler1 年前

I feel very underrepresented.

MEZTech 𐤊 的头像
MEZTech 𐤊1 年前

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

セyphrロiot 的头像
セyphrロiot1 年前

A billion nested loops. 🤪

Yitz Willroth™ 的头像
Yitz Willroth™1 年前

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

Patrick Senti 的头像
Patrick Senti1 年前

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.👇

thethiny 🐰🍉 的头像
thethiny 🐰🍉1 年前

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

CodeThorpeX 的头像
CodeThorpeX1 年前

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”.

Ben Dicken 的头像
Ben Dicken1 年前

@MadThorpeX

CodeThorpeX 的头像
CodeThorpeX1 年前

Thanks.

Malte Landwehr 的头像
Malte Landwehr1 年前

I am shocked by how fast Java is! 🤯

Scott 的头像
Scott1 年前

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.

Mad ML scientist 的头像
Mad ML scientist1 年前

where are matlab and wolfram

Brady 的头像
Brady1 年前

Assembler programs...

nftsasha 的头像
nftsasha1 年前

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

Joe Blau 的头像
Joe Blau1 年前

V2

相关视频

Bro clearly hasn't watched knuckles (2024) #smhmyhead
0:35

Sensitive content

Bro clearly hasn't watched knuckles (2024) #smhmyhead

GoomBoom

703,186 次观看 • 10 个月前