Simon's Avatar

Simon

@simonask.bsky.social

54 Followers  |  58 Following  |  35 Posts  |  Joined: 29.11.2024  |  2.0842

Latest posts by simonask.bsky.social on Bluesky

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 β€” πŸ‘ 303    πŸ” 10    πŸ’¬ 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

Thanks! Yeah, I’ve been debating it, so it’s kind of β€œintentionally left blank” at the moment. Since it is a tool, not a library, I’m considering something a little less permissive, but I’m still not sure.

01.02.2025 11:13 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@simonask is following 20 prominent accounts