Recent submissions

Comment · 2 years ago
Yea most dependencies in Rust land are entirely avoidable. Most even easily (like left-pad), sometimes its hard like a wasm engine. This wasm engine is the result of us trying to avoid a dep on a wasm engine from the ecosystem. It bloated the build time of our IDE by 300% to just include it (we were just 25% of the buildtime if i include wasmtime). Now was that a good idea? I don't know but we're getting very close now to a full product whilst still compiling in release build with all deps in <10s on a new mac. I'm personally really opposed to using small convenience libraries. Just write the code you need in a 'slightly less convenient way'. Use the standard library if you can. No need to pile on say entire networking stacks if you can talk to the platform networking apis for instance.
Comment · 2 years ago
Essentially it is: avoid all dependencies, and if you take them on, like platform libs strip them down to only what you use
Comment · 2 years ago
You should test it on a fast CPU tho on linux, its likely faster there. As you have said its likely an instruction cache issue.
Comment · 2 years ago
For use in makepad (our Rust IDE/UI framework) as our extension-system Eddy Bruël built a new experimental spec compliant wasm interpreter that relies on sibling call optimisation to get within 4x of a wasm JIT. It has no dependencies and compiles in 2 seconds. Can ship on iOS and is very useful for low weight app extension systems
Comment · 3 years ago
Browser apps are not only about these usecases, which are mostly a document-use-of-DOM feature. Which is fine for certain cases. However for a synthesiser UI, IDE, designtools or even a SDXL explorer flowgraph i don't really care about that. You want fast UI, with threads available to make workloads not hiccup the system. And thats what we're building with makepad. I found the stranglehold that HTML put on application developers over the years to be so demotivating i almost quit building applications that ran in a browser entirely. But luckily now we have wasm+rust+webgl/gpu and things can happen again.
Comment · 3 years ago
It shouldnt be 'that' blurry tho, sounds like maybe you have a browser-zoom level thats not 100%. I try to deal with that, but there are browsers that mess it up (safari can for instance)
Comment · 3 years ago
Yea we're struggling a bit with super sharp rendering on lower DPI screens. It's on our todolist.
Comment · 3 years ago
What browser/OS are you on? Works fine here. Needs wasm+webaudio worklets and shared memory to work
Comment · 3 years ago
Good point, i'll work on it
Comment · 3 years ago
It's using lots of workers and SIMD. What is your OS/browser?
Comment · 3 years ago
We might, but only after we made our own. Our editor will finally break the barrier of inlining widgets/controls performantly. The editor is one piece with the visual designer (2 sides of a coin)
Comment · 3 years ago
Figma is an online designtool mostly used for doing UI designs.
Comment · 3 years ago
Yea that one is highest on the list.
Comment · 3 years ago
Thanks :) All the work of 'this is not rocket science'

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton