HNHacker News
TopNewBestAskShowJobs

withtypes

107 karma · joined August 19, 2009

I love types!
submissionscomments
withtypes··on Rust 1.51
In Rust there is smallvec https://docs.rs/crate/smallvec/
withtypes··on Launch HN: Lunatic (YC W21) – An Erlang Inspired WebAssembly Platform
Fly.io is doing cool stuff! We will try out their platform to deploy Lunatic to the edge.
withtypes··on Launch HN: Lunatic (YC W21) – An Erlang Inspired WebAssembly Platform
Wasmtime/Wasmer are both written in Rust so it was easy to integrate them. By the way, Wasm3 is an interpreter, not a JIT compiler, but this also has some use cases! For example, running an instance from “cold storage” requires a JIT compilation step which might take more time then just interpreting it. It would be cool to have a fast interpret like Wasm3 too.

We’ve created a crate “uptown_funk” which enables us to write Rust code which easily integrates with both Wasmer and Wasmtime. It was very helpful in implementing WASI and it takes a little bit different approach than Wasmer and Wasmtime. Regarding, Wasmer vs. Wasmtime, we don’t have a preference yet, both are great!

withtypes··on Launch HN: Lunatic (YC W21) – An Erlang Inspired WebAssembly Platform
We agree with you, we are currently focused only on runtime running on an existing OS. We know there are different uses-cases so we could organize the project so that you can use what you need. In theory, you could use it right now inside of your Rust app to run plugins as Lunatic processes, but we need to document it a little bit better and maybe showcase an example.
withtypes··on Launch HN: Lunatic (YC W21) – An Erlang Inspired WebAssembly Platform
We will take a look at embly! For Rust currently you just have to add wasm32-wasi target and compile for it. There are still some problems (WASI is not yet finished, maybe binary size could be optimized). Our current idea is to build a small cargo command which would do building and deploying. Wasmer is doing great work with tooling for other languages. We are now focused on Rust and AssemblyScript, but as Wasm and WASI mature we would like to simplify it for more languages.

We have been thinking about live process migration. I’m planning to do a demo where we run a lot of board games (e.g. chess) on authoritative servers using Lunatic. Then we give a developer ability to move a live game to a different machine without players noticing. We are still working out the details, but that area also excites us!

withtypes··on Launch HN: Lunatic (YC W21) – An Erlang Inspired WebAssembly Platform
You are thinking in the right direction, but there are some technical differences between how NodeJS works compared to Erlang or Go. For example, in NodeJS you could accidentally block the event loop by some unintended computation, but Lunatic and Erlang periodically give control back to the runtime. We also want to abstract the syscall layer, for example, in our lunatic.run demo, you write a program which seemingly uses standard input/output but we actually read/write from a socket.

By the way, if it sounds vague, that's important info for us, we have to improve that!

withtypes··on Pijul – The Mathematically Sound Version Control System Written in Rust
I don't read it like that at all. Rust is mentioned only once. Nevertheless I do care if a tool I am considering to use is written in JavaScript, Rust or some esoteric language. It means a lot, not only for "safety" which is not important to you that much, but also for maintainability, community, and the future of the project. Of course, what triggers you probably is mentioning Rust in the title of the post. Still hard to imagine being so annoyed by it–if authors thinks it's important or it will grab attention, why not use it...
withtypes··on Why is dependent type theory more suitable than set theory for proof assistants?
Saying Lean "rules out many kinds of mathematics" and not giving a single example, sounds more sensationalist to me. I also don't see what's wrong with anonymous comments as long as they are constructive and people are nice.

I don't know Kevin as well as you do (apparently) but maybe he is just ignorant on the topics you know so much about. Why something gets attention of media (Quanta Magazine?) is complicated. From your comments, you also seem very "bold".

withtypes··on Nikola Tesla Wasn't God And Thomas Edison Wasn't The Devil
"The recent war" (1991-1995), or Croatian War of Independence, was a mess and things like that happened. It doesn't mean anything.

In Croatian schools, they always say Tesla was Serbian and born in Croatian territory. Both Croatians and Serbs are proud of him, I guess.

As for mutual hatred, many people lost their families in the war, and obviously many Serbs were part of the aggression, so the relationship is no wonder.

Anyway, the article is great! Just what I needed.

withtypes··on Can't solve a quintic? Galois Theory in 1500 words
Genius and Biographers: The Fictionalization of Evariste Galois by Tony Rothman http://www.physics.princeton.edu/~trothman/galois.html

"This article is an attempt to sift some of the facts of Galois's life from the embroidery. It will not be an entirely complete account and will assume the reader is familiar with the story, presumably through Bell's version. Because these authors have emphasized the end of Galois's life, I will do so here. As will become apparent, many of the statements just cited are at at worst nonsensical, or at best have no basis in the known facts."