Loading video...

Video Failed to Load

Go Home

Some web slop vibe coders are thinking that it's impossible to use inline assembly for a real production code because they have no idea how debuggers and their software actually works here is how

56,506 views • 1 year ago •via X (Twitter)

11 Comments

HSVSphere's profile picture
HSVSphere1 year ago

The asm macro is so good

Matt Figdore's profile picture
Matt Figdore2 years ago

This is the biggest productivity cheat code right now. Kiss reading documents goodbye. You can get an instant summary of any document with this tool.

subparDev's profile picture
subparDev1 year ago

I trust you, solely based on your cursor animations.

Zeke Geiss 🇺🇸's profile picture
Zeke Geiss 🇺🇸1 year ago

That's hilarious that he has air stats live updating in his editor.

Dmitriy Kovalenko's profile picture
Dmitriy Kovalenko1 year ago

it is not hilarious it is very useful

Pranav's profile picture
Pranav1 year ago

For in-line assembly and performance-critical tasks on the web, WASM with Rust is probably your best bet. Take Figma, for example — all those complex vector design operations? Blazing fast, thanks to WASM under the hood. But here’s the catch: implementing WASM isn't for your average web dev. It needs solid understanding of system-level programming, something most web devs never touch, they somehow stucks on frameworks only. That’s why it’s powerful and rare.

Dmitriy Kovalenko's profile picture
Dmitriy Kovalenko1 year ago

wasm is not an assembly and a stack VM which requires a runtime and even though it also has SIMD I will be 99% sure that having a wasm container for a function like this will be slower than using a naive rust version

Stixu.io's profile picture
Stixu.io1 year ago

Font name?

Dmitriy Kovalenko's profile picture
Dmitriy Kovalenko1 year ago

Berkeley Mono v2 by @usgraphics

Ales Hakl's profile picture
Ales Hakl1 year ago

Inline assembly is usually code smell. If you want to hand optimize the shit out of some inner loop just doing that as separate .s offers many benefits, largest one being that you do not have to deal with some either cryptic or verbose way of specifying input/output/clobbered registers and instead just rely on the platform ABI (that overhead should be completely irrelevant for anything that you want to hand optimize)

Dmitriy Kovalenko's profile picture
Dmitriy Kovalenko1 year ago

No

Related Videos