Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
the_duke
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
46 ms
·
661.
▲
by
the_duke
5y ago
I am (somewhat) familiar with the JVM. Yes, it's also a stack based VM that is relatively small, at least superficially. It's really not that simple though. Things like GC, exception handling, a whole class model with constructors
662.
▲
by
the_duke
5y ago
Yeah, progress on WASI has been painfully slow. I think a big reason is that it was pushed by Mozilla, but they laid off all the related employees, and now no-one is really allocating resources to push it forward. Plus it's still block
663.
▲
by
the_duke
5y ago
Wasm doesn't have to run in an interpreter. Many of the runtimes (like Wasmtime, Wasmer) compile the Webassembly to native machine code first. But that native code is still constrained by the Wasm security/sandboxing model, which
664.
▲
by
the_duke
5y ago
The fixed width SIMD proposal was standardized a while ago and is available in quite a few runtimes. https://github.com/WebAssembly/proposals/blob/main/finished-...
665.
▲
by
the_duke
5y ago
In contrast, webgpu Webassembly bindings have the potential to enable fast ML code execution everywhere. Both for browser and native use cases.
666.
▲
by
the_duke
5y ago
Incidentally, Minecraft Java has always had horrible performance, to the point where it was rewritten in C++. There are two versions of Minecraft now. The main reason Minecraft Java is still alive is the hackability and the resulting extens
667.
▲
by
the_duke
5y ago
There are fundamental differences here. Webassembly is a small stack machine based on an open standard. It is built bottom up, with a very small core. Additional features like SIMD, garbage collection,posix style system interfaces (WASI), l
668.
▲
by
the_duke
5y ago
Google is often dismissively called an ad company. Why is that? Because most of their revenue is from ads. How does Brave make money? With ads. Privacy-centric positioning makes sense to capture a part of the market. But the mis-aligned in
669.
▲
by
the_duke
5y ago
Why exactly did you create two new accounts to post the very same message? ( https://news.ycombinator.com/item?id=30113137 )
670.
▲
by
the_duke
5y ago
Your comment seems to rooted in your dislike of Rust, rather than provide any technical arguments. The Rust tooling certainly was the best, no question. As the Mozilla WASM devs have moved on the WASM tooling has stagnated, sadly, and The
671.
▲
by
the_duke
5y ago
Guix is cool but has two big drawbacks: The major one: package ecosystem. Nix has the largest and most up to date package repo of any distro [1]). Nix is already somewhat niche, but the Guix community is tiny. They also have a hard stance
672.
▲
by
the_duke
5y ago
The magic sauce for desktop users is home-manager, which allows declarative setup of your user environment. And rollbacks to previous generations with one command , in the OS or the boot screen. I use it to set up my window manager, fonts,
673.
▲
by
the_duke
5y ago
You don't need it. But Kubernetes exists for a reason and makes a lot of things easier. If you are familiar with the ecosystem, k3s is a great foundation for self-hosted setups. Especially thanks to the many helm charts and operators t
674.
▲
by
the_duke
5y ago
I'm a bit confused. The draft was just updated two days ago. Are you saying that the direct mapping requirements I quoted above have been abandoned?
675.
▲
by
the_duke
5y ago
Not public yet. I'll post a SHOW HN once it's ready for an initial open source release.
676.
▲
by
the_duke
5y ago
As the draft says [1]: > Trivially convertable to SPIR-V > Constructs are defined as normative references to their [SPIR-V] counterparts > All features in WGSL are directly translatable to [SPIR-V] > Features and semantics are e
677.
▲
by
the_duke
5y ago
This is topical for me because I'm working on a distributed Webassembly runtime that aims to combine the best parts of Kubernetes and Erlang. The big benefits: * Much easier deployment. All you need is a small .wasm file, usually hoste
678.
▲
by
the_duke
5y ago
Most don't like to hear this, but I agree. Obama and Clinton (as Secretary of State) very openly supported Ukraine, and the EU sort of played along, although much more apprehensively. They were playing with fire. In the words of a Euro
679.
▲
by
the_duke
5y ago
Bitwarden is free for personal accounts.
680.
▲
by
the_duke
5y ago
Sure, but so would AMD chips, which aren't even on 5nm yet.
681.
▲
by
the_duke
5y ago
A potentially huge roadblock to better error messages is lack of generics and interfaces/traits/classes. The comptime machinery is really cool, but it gives the compiler much less information to work with for producing good errors
682.
▲
by
the_duke
5y ago
I also tried out Zig a while ago and was frustrated by the lack of good learning materials. Zig is 6 years old. Rust had much better documentation at this stage of development. To be fair though: Rust also had corporate backing and a larger
683.
▲
by
the_duke
5y ago
On Linux + Wayland Firefox very notably has the best performance for me ( except certain very JS heavy/Chrome optimized sites)
684.
▲
by
the_duke
5y ago
The more relevant point is that async is good for IO concurrency. But a LSP mostly deals with a single request at a time by a single client. The network and disk IO is a tiny part (after the initial startup scan). Most of the work is CPU bo
685.
▲
by
the_duke
5y ago
It's in private beta.
686.
▲
by
the_duke
5y ago
I have the exact opposite opinion. Mandatory trade relationsips and closely interconnected supply chains are an important factor in preventing larger wars.
687.
▲
by
the_duke
5y ago
The exception is the async API which was first implemented by Neovim, but Vim followed with something incompatible. Most plugins that need it are compatible with both though.
688.
▲
by
the_duke
5y ago
There is an overview here: https://vimhelp.org/vim9.txt.html I do question if a breaking change for a custom language is the right way to go. Built in Lua support in Neovim (with LuaJIT) has done wonders for the plugin ecos
689.
▲
by
the_duke
5y ago
This reads like SEO spam without any notable content.
690.
▲
by
the_duke
5y ago
Can you share the complaints? What's theur reason for leaving?
More ›