Hacker News new | ask | show | jobs
by mdaniel 592 days ago
"backend" seemed to imply it was contacting some server, but https://github.com/ironcalc/ironcalc#early-testing claims (and the network tab confirms) it is just Rust compiled to wasm, no "backend" required

MIT or Apache 2 (player's choice) if anyone else has grown deeply suspicious about any "open source" HN headlines of late

2 comments

Right, I've made a mistake! I keep getting surprised by the fact it's possible to simply compile a Rust crate with a WASM target and run it in the browser.
backend does not imply server to me, it implies software that does the calculating engine work and does not concern itself with display refresh.
Backend is a general word, not limited to client-server or the web. You can have a rendering backend with various configurable choices, like in Matplotlib (https://matplotlib.org/stable/users/explain/figure/backends....), or the deep learning library Keras has a choice between PyTorch, JAX and TensorFlow backends.
we're talking about a spreadsheet engine, the backend is not going to be the Xserver displaying it
In code that typically runs in on e process, that's a plausible interpretation.

However, the browser, sorry, the Internet browser, is typically a distributed system and a more plausible interpretation of backend is server-side.

IMNSHO.

Surely that's background not backend.
I wouldn't call it background unless maybe it's async or continues to process stuff while you're doing other things.
what's the backend of a spreadsheet engine going to be doing? updating the datastructures of the spreadsheet.

is it going to be local or remote? that's not part of the question.

is it foreground or background? that's an implementation choice. apple II, yeah, everything freezes while it recalcs. windows? recalcs when it can, don't let the mouse freeze.