Better HN
topnewbestaskshowjobs
Log inSign up

rikarendsmp

73 karma · joined May 12, 2021 (5y ago) · 44 submissions

Submissions

comment 2w ago · link · parent

Yes exactly it can do that.

comment 2w ago · link · parent

Great to hear! Thanks for your PRs

comment 2w ago · link · parent

Old habit. The AI did of course.

comment 2w ago · link · parent

Very excited to see what you made!

comment 2w ago · link · parent

Wow that looks really useful, is that going to get upstreamed? I still use the rust compiler all over the place so improvements like that will be very welcome.

comment 2w ago · link · parent

I've fixed 100 issues and 50prs over the last 12 hours, any detailed reports welcome

comment 2w ago · link · parent

I've been using it successfully for makepads own development iterations for quite some time. This release is the first real outside test. Strange you are getting such wildly different numbers tho.

comment 2w ago · link · parent

Relax runs the borrow checker 'lazily' so it already starts your app whilst the borrow checker runs asynchronous. It's jokingly called 'gandalf' because I think It halts the JIT if it finds a problem.

comment 2w ago · link · parent

It should be lower, but I haven't optimized it too hard on disk size. It's about iteration latency for LLM's.

comment 2w ago · link · parent

AI maintains it, and its developer tooling really. The main use case is hotloading for LLM's to reduce wait-for-result time and to allow applications other be hot-debugged. Pause on panic is one of its main features I use all the time.

comment 2w ago · link · parent

Indeed but I could only do this in the age of AI. Before a project like this was just out of reach.

comment 2w ago · link · parent

Its only prompt is 'make a flashy website for this project'. I think it's fine who reads websites anymore anyway. Readme.md for GitHub is the main thing.

comment 2w ago · link · parent

Yea it's claude+codex over the course of a month. It definitely isn't a one shot.

comment 2w ago · link · parent

It's a technology to improve iteration time with agents, or humans for live coding but nobody really writes code anymore so.

15.

Relax – a JIT for Rust that runs Cargo packages before it is done compiling(makepad.github.io ↗)

2 points · by rikarendsmp · 3w ago · discuss

comment 2y ago · link · parent

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 2y ago · link · parent

Essentially it is: avoid all dependencies, and if you take them on, like platform libs strip them down to only what you use

comment 2y ago · link · parent

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 2y ago · link · parent

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

20.

Makepad-stitch: WASM interpreter in Rust, 15kloc, 0 deps, faster than wasm3(github.com ↗)

49 points · by rikarendsmp · 2y ago · 17 comments

comment 3y ago · link · parent

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 3y ago · link · parent

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 3y ago · link · parent

Yea we're struggling a bit with super sharp rendering on lower DPI screens. It's on our todolist.

comment 3y ago · link · parent

What browser/OS are you on? Works fine here. Needs wasm+webaudio worklets and shared memory to work

comment 3y ago · link · parent

Good point, i'll work on it

comment 3y ago · link · parent

It's using lots of workers and SIMD. What is your OS/browser?

comment 3y ago · link · parent

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 3y ago · link · parent

Figma is an online designtool mostly used for doing UI designs.

comment 3y ago · link · parent

Yea that one is highest on the list.
12