Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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 Aufrufe • vor 1 Jahr •via X (Twitter)

11 Kommentare

Profilbild von HSVSphere
HSVSpherevor 1 Jahr

The asm macro is so good

Profilbild von Matt Figdore
Matt Figdorevor 2 Jahren

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.

Profilbild von subparDev
subparDevvor 1 Jahr

I trust you, solely based on your cursor animations.

Profilbild von Zeke Geiss 🇺🇸
Zeke Geiss 🇺🇸vor 1 Jahr

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

Profilbild von Dmitriy Kovalenko
Dmitriy Kovalenkovor 1 Jahr

it is not hilarious it is very useful

Profilbild von Pranav
Pranavvor 1 Jahr

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.

Profilbild von Dmitriy Kovalenko
Dmitriy Kovalenkovor 1 Jahr

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

Profilbild von Stixu.io
Stixu.iovor 1 Jahr

Font name?

Profilbild von Dmitriy Kovalenko
Dmitriy Kovalenkovor 1 Jahr

Berkeley Mono v2 by @usgraphics

Profilbild von Ales Hakl
Ales Haklvor 1 Jahr

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)

Profilbild von Dmitriy Kovalenko
Dmitriy Kovalenkovor 1 Jahr

No

Ähnliche Videos