xuejie | 1 year ago | on: Intel's woes with Core i9 CPUs crashing look worse than we thought
xuejie's comments
xuejie | 2 years ago | on: micro – A Modern Alternative to nano
xuejie | 2 years ago | on: micro – A Modern Alternative to nano
xuejie | 2 years ago | on: The Text Editor Sam
That being said, I've been recently employing comby (https://comby.dev/) in my workflow, which solves similar problem, but understands certain languages to simplify the usage.
xuejie | 4 years ago | on: Turing Pi 2: 4 Raspberry Pi nodes on a mini ITX board
Can you expand on this one? I was curious why you think there probably will not be a cheaper one in the future with similar or better specs.
xuejie | 5 years ago | on: A distributed key value store in under 1000 lines
xuejie | 5 years ago | on: Fastly hires entire Wasmtime team from Mozilla
xuejie | 5 years ago | on: I am seriously considering going back to desktop computers
* A fanless Chromebook with decent screen for travel use
* An Intel NUC that is hooked to a big monitor, which is also the device I'm typing this on
* A beefy Ryzen desktop that sits in the corner of my balcony, which I usually connect via ssh and perform all the heavy tasks
To me I'm getting all the benefits of each computer, and the combined cost is still less than a so-called macbook pro :)
xuejie | 5 years ago | on: Why Not Rust?
Aren't macros, especially proc macros these days in Rust having the same effect? Personally I feel like this is a tradeoff every language has to play with: you either limit to a special way of writing, or adding some sort of ad-hoc system that enables rewriting syntax and even to a degree, semantics.
xuejie | 5 years ago | on: Why is Idris 2 so much faster than Idris 1?
xuejie | 5 years ago | on: Why is Idris 2 so much faster than Idris 1?
> Idris 1 is implemented in Haskell, but that has little (if anything) to do with the difference.
But latter they also go on to say:
> Idris 2 benefits from a robust, well-engineered and optimised run time system, by compiling to Chez Scheme.
I must say I'm slightly confused here. Yes a rewrite might also enable to avoid all the legacy part that might slow down the code, but what is also possible, is that a new language and a new runtime could enable new optimizations that are not possible before. The author did mention Chez's profiling tools help a lot in the rewrite. So I was curious: is it really true, that we cannot attribute some part of the speedup to language differences?
Also I was interested in the rationale behind using Scheme to replace Haskell, but I failed to find some reasoning behind this, anyone can shed some light on this?
xuejie | 5 years ago | on: Testing Distributed Systems with Deterministic Simulation (2014) [video]
Disclaimer: I'm never a Rust zealot, I do understand Rust has its tradeoffs, and it's not the panacea for every problem. In fact I do have side projects which are perfectly suited and written in Go. I'm just saying Rust's design turns out to be suitable for such a deterministic testing structure, and Rust's target for system programming, can also benefit A LOT from this style of testing.
And also a shameless plug: I do have some initial work exploring this area: https://github.com/xxuejie/diviner. It's still quite rough and a lot of work is needed but I do believe this is something that is worth exploring.
xuejie | 6 years ago | on: WebML: A Standard ML Compiler for the Web
xuejie | 6 years ago | on: Crystal 0.33
I understand we might get there one day but I'm afraid this is taking far too long.
xuejie | 6 years ago | on: WASM as a Platform for Abstraction
xuejie | 6 years ago | on: WASM as a Platform for Abstraction
xuejie | 6 years ago | on: WASM as a Platform for Abstraction
xuejie | 6 years ago | on: WASM as a Platform for Abstraction
Some shits I see these days are that when code speed is measured, people compare that with JS but not native code, when portability is talked about, the comparison is then made against native code, not JS.
xuejie | 6 years ago | on: WASM as a Platform for Abstraction
And actually the argument is: all of v8, Firefox/Cranelift and LLVM used in wasmer requires non-trivial work to make WASM fast, which shouldn't be needed given a different model.
[1] https://github.com/wasmerio/wasmer/tree/master/lib/llvm-back... [2] https://github.com/WAVM/WAVM
xuejie | 6 years ago | on: WASM as a Platform for Abstraction
And of course JIT can make WASM fast but if you look around, building a performant WASM JIT still remains terribly hard, some implementation even needs LLVM to perform optimizations. I'd say if this is the case, we must've chosen the wrong model.