Simon's Avatar

Simon

@simonask

57
Followers
60
Following
36
Posts
29.11.2024
Joined
Posts Following

Latest posts by Simon @simonask

Went deep into this rabbit hole making Werk, and kind of concluded that PTY is never the right answer. Just bite the bullet and deal with the chaos of environment vars. Unless you plan to actually emulate a terminal (you don’t).

05.03.2026 15:06 👍 0 🔁 0 💬 0 📌 0
stop doomscrolling. put down your phone and take a doomwalk outside. doomdrink some water. doombreathe.

stop doomscrolling. put down your phone and take a doomwalk outside. doomdrink some water. doombreathe.

10.09.2025 22:04 👍 302 🔁 11 💬 4 📌 0
Preview
crates.io: Rust Package Registry

Ever found yourself allocating altogether too many strings, just to get human-friendly output? crates.io/crates/liter...

07.09.2025 10:22 👍 2 🔁 0 💬 0 📌 0

*linker flags

21.08.2025 16:30 👍 1 🔁 0 💬 0 📌 0

Ah right. Yeah, the only way I’ve gotten that to work has been by severing the other dependency. It *should* work to have two shim crates both reexporting all symbols, then use some custom line flags like `whole-archive` etc to actually include everything in the static variant. Maybe you tried this?

21.08.2025 16:29 👍 1 🔁 0 💬 2 📌 0

Normally I would say it smells like an X/Y problem, but since it’s you, I’m curious… what linker crimes are you up to?

21.08.2025 15:56 👍 0 🔁 0 💬 1 📌 0

But if you do it anyway, I salute you for not using AI to “polish” your work — it makes it much easier for other non-natives to detect that you are human, and therefore may have interesting things to say.

04.08.2025 20:31 👍 1 🔁 0 💬 0 📌 0

As a non-native casual user of the English language, I feel like I can probably say this: If communication and writing are not skills you have or want to practice, how about… not writing blog posts? What is this obsession with creating an online portfolio of mediocre “articles”?

04.08.2025 20:30 👍 2 🔁 0 💬 1 📌 0

`@include` …??? 👀

04.08.2025 13:58 👍 0 🔁 0 💬 1 📌 0

Very early work in progress atm, but I’m optimistic!

Here’s a wild thought: if facet provides a way to invoke arbitrary function pointers, this could even automatically wrap them so they’re callable from JS. 🤯

21.06.2025 22:14 👍 1 🔁 0 💬 0 📌 0

A very thoughtful post

20.06.2025 17:10 👍 37 🔁 4 💬 5 📌 0

The only thing I miss from C++ is the drama.

Oh, and specialization.

19.06.2025 22:50 👍 1 🔁 0 💬 0 📌 0

The obvious workaround is to keep using good old em-dash, but introduce a light sprinkling of spelling errors or non-idiomatic phrasing.

Non-native speakers finally have an advantage! The Uncanny Valley of language is our only hope.

14.06.2025 08:02 👍 0 🔁 0 💬 0 📌 0

WASM is so close to being actually good. Just give me any kind of dynamic linking. Please. 🥺

02.06.2025 12:52 👍 0 🔁 0 💬 0 📌 0

Passing data structures between Rust and V8.

26.05.2025 23:30 👍 2 🔁 0 💬 0 📌 0

Mine is named werk.

24.05.2025 13:45 👍 0 🔁 0 💬 0 📌 0

Hard agree 💖

19.04.2025 12:58 👍 0 🔁 0 💬 0 📌 0

Been trying out unsynn for my own projects. I have to say, it’s actually quite pleasant, but I really wish the library would commit to a bit more stability. The current design seems fine.

17.04.2025 08:55 👍 1 🔁 0 💬 1 📌 0

Most hated by people who actually use it: C++
Most hated by people who don’t use it: Rust
Least hated by people who actually use it: Rust
Least hated by people who don’t use it: C++

08.04.2025 15:27 👍 8 🔁 0 💬 0 📌 0

I miss when this was what America was about.

30.03.2025 15:11 👍 0 🔁 0 💬 0 📌 0
Introducing Stringleton

I made a new ultra-efficient string interning library for fun and profit. Pretty proud of the amount of magic here, not gonna lie.
simonask.github.io/introducing-...

27.03.2025 09:57 👍 2 🔁 1 💬 0 📌 0

c.tenor.com/yttVK0I9LaIA...

21.03.2025 10:41 👍 1 🔁 0 💬 0 📌 0

I think the point isn’t “this was possible for all”, but rather “this was possible at all”.

02.03.2025 12:56 👍 1 🔁 0 💬 0 📌 0

Build scripts and proc macros are not rebuilt on every check. R-a today caches them quite aggressively (and often actually needs a full restart when they change, at least in VS Code). They do need to *run* though, and that’s a good point.

14.02.2025 17:50 👍 1 🔁 0 💬 0 📌 0

More generally, LSP servers can be structured very differently from a compiler (and r-a is, to my knowledge), and can choose very different tradeoffs, because interactivity is more important, and passing stuff to codegen is a non-issue.

14.02.2025 17:24 👍 0 🔁 0 💬 1 📌 0

I mean, for sure there’s a lot of overlap, but codegen is very, very slow (kind of intrinsically).

14.02.2025 17:22 👍 0 🔁 0 💬 1 📌 0

I’m willing to bet that these issues would be way less important to people if rust-analyzer was actually fast.

14.02.2025 15:26 👍 0 🔁 0 💬 1 📌 0

I ended up going with the classic “MIT OR Apache-2.0” 🙂

04.02.2025 15:42 👍 1 🔁 0 💬 1 📌 0

There’s probably a niche for a less ambitious rand crate, but should anybody use it?

04.02.2025 15:37 👍 1 🔁 0 💬 1 📌 0

Thought: If the goal was stated as “generate a pseudo-random number”, I would agree. But it does a lot more: crypto-suitability, max performance, choices of distributions… hard things to get right. And still not suitable for something like games.

04.02.2025 15:36 👍 1 🔁 0 💬 1 📌 0