Загрузка видео...

Не удалось загрузить видео

На главную

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 просмотров • 1 год назад •via X (Twitter)

Комментарии: 11

Фото профиля HSVSphere
HSVSphere1 год назад

The asm macro is so good

Фото профиля Matt Figdore
Matt Figdore2 лет назад

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
subparDev1 год назад

I trust you, solely based on your cursor animations.

Фото профиля Zeke Geiss 🇺🇸
Zeke Geiss 🇺🇸1 год назад

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

Фото профиля Dmitriy Kovalenko
Dmitriy Kovalenko1 год назад

it is not hilarious it is very useful

Фото профиля Pranav
Pranav1 год назад

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
Dmitriy Kovalenko1 год назад

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
Stixu.io1 год назад

Font name?

Фото профиля Dmitriy Kovalenko
Dmitriy Kovalenko1 год назад

Berkeley Mono v2 by @usgraphics

Фото профиля Ales Hakl
Ales Hakl1 год назад

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
Dmitriy Kovalenko1 год назад

No

Похожие видео