Tophe's Avatar

Tophe

@topheman.bsky.social

❀️ TypeScript, WebAssembly & Rust πŸ¦€ https://topheman.github.io/me/

30 Followers  |  137 Following  |  23 Posts  |  Joined: 06.12.2023  |  1.6841

Latest posts by topheman.bsky.social on Bluesky

JavaScript operator: await: Use at module top level | Can I use... Support tables for HTML5, CSS3, etc

JavaScript top-level await is no longer considered 'baseline' due to a pretty big Safari bug caniuse.com/mdn-javascri...

The module graph fails in cases where two modules import a third at the same time. Demo: random-stuff.jakearchibald.com/bug-repros/t...

It's best to avoid the feature for now πŸ˜”

26.10.2025 20:17 β€” πŸ‘ 151    πŸ” 40    πŸ’¬ 10    πŸ“Œ 5
Post image

Don't [...spread] or .split() your strings!

Use Intl.Segmenter API. Available in every JS runtime

23.10.2025 14:54 β€” πŸ‘ 527    πŸ” 79    πŸ’¬ 17    πŸ“Œ 9
Nvidia, OpenAI, and Oracle pulling off the classic investment circle jerk
YouTube video by Morning Brew Nvidia, OpenAI, and Oracle pulling off the classic investment circle jerk

πŸ“Ί The short version of the AI bubble.
Each loop lifts stock prices, but the underlying value is unclear.
#AI #AIbubble #Economy
www.youtube.com/shorts/JLA3T...

19.10.2025 17:27 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Tech Billionaires Know the AI Bubble Will Burst (They're Already Building Bunkers)
YouTube video by Vanessa WingΓ₯rdh Tech Billionaires Know the AI Bubble Will Burst (They're Already Building Bunkers)

πŸ“Ί The AI bubble explained by Vanessa WingΓ₯rdh.
Big Tech is faking AI profits through circular deals β€” investing in each other, then buying one another’s products with the same money.
#AI #AIbubble #Economy
www.youtube.com/watch?v=Rc0k...

19.10.2025 17:27 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Toolchain Notes - Toolchain Notes The notes I've taken while diving into the source code of rolldown and oxc

Want to go further into #oxc internals? Check topheman.github.io/toolchain-no...

14.10.2025 08:07 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Jim Dummet | JavaScript at the speed of Rust: Oxc | ViteConf 2025
YouTube video by ViteConf Jim Dummet | JavaScript at the speed of Rust: Oxc | ViteConf 2025

πŸ“Ί Jim Dummet about JavaScript/Rust interoperability and performant JS plugins for Oxlint @viteconf.org #ViteConf #Rust #oxc
www.youtube.com/watch?v=ofQV...

14.10.2025 08:06 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Ferris selfie

Ferris selfie

That’s the end of #EuroRust 2025! πŸ¦€

Thanks to the speakers and organizers for those two days of conference. πŸ‘

#rustlang #EuroRust25

10.10.2025 20:30 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Rails Needs New Governance Ages ago, when I was still a student, I taught myself Ruby on Rails for my senior thesis and fell in love. Fifteen years later, and I’ve used Rails at every job I’ve ever held in the tech industry. Fifteen years, and I still love Rails! But there’s something rotten at its core, and we share a name.

Ages ago, when I was still a student, I taught myself Ruby on Rails for my senior thesis and fell in love. Fifteen years later, and I’ve used Rails at every job I’ve ever held in the tech industry. Fifteen years, and I still love Rails! But there’s something rotten at its core, and we share a name.

19.09.2025 18:43 β€” πŸ‘ 178    πŸ” 69    πŸ’¬ 15    πŸ“Œ 16

You're looking for a #Rust πŸ¦€ developer who has a solid experience with the web ecosystem? I'm based in πŸ“Paris.

Contacts: topheman.github.io/me/

19.09.2025 11:44 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Building a plugin system - WebAssembly Component Model Discover how WebAssembly Component Model works through the concrete use case of a REPL with a plugin system

Just published an article series on how #WebAssembly Component Model can be used to build multi-language 🧩 plugin system that work seamlessly across πŸ› οΈ CLI and 🌐 browser!

Real-world examples with #Rust, #Go, #C & #TypeScript plugins.

#WASM #WASI πŸ¦€

dev.to/topheman/web...

19.09.2025 11:41 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Wasm 3.0 Completed - WebAssembly WebAssembly (abbreviated Wasm) is a binary instruction format for a stack-based virtual machine. Wasm is designed as a portable compilation target for programming languages, enabling deployment on the...

The WebAssembly 3.0 spec is complete!

webassembly.org/news/2025-09...

This includes major features like GC, 64-bit memories, exceptions, and tail calls.

17.09.2025 17:04 β€” πŸ‘ 98    πŸ” 37    πŸ’¬ 5    πŸ“Œ 3
Preview
Improve your AI code output with AGENTS.md (+ my best tips) Stop re-prompting. Put the rules in AGENTS.md: do and don’ts, file-level tests, and real examples so agents ship code that matches your project.

Improve your AI code output with AGENTS​.md thx to @steve8708.bsky.social best tips
#agents #claudecode #cursor
www.builder.io/blog/agents-md

11.09.2025 18:19 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Toolchain Notes - Toolchain Notes The notes I've taken while diving into the source code of rolldown and oxc

Want to digg deeper into #rolldown & #oxc but not sure where to start in the source code?

#rust #napi

Checkout topheman.github.io/toolchain-no...

08.09.2025 07:54 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Lobsters

Anybody I know can invite me to lobste.rs? 🦞

03.09.2025 21:21 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Add Homebrew Support and Cross-Compilation Pipeline by topheman Β· Pull Request #17 Β· topheman/webassembly-component-model-experiments This PR adds comprehensive cross-compilation support and Homebrew distribution capabilities to the pluginlab crate. πŸš€ Main Features 1. Generate Completions Command Added generate-completions subco...

Built an automated distribution pipeline for my #Rust project!

⚑️ Cross-compiled for Linux/macOS (Intel/ARM)
🍺 #Homebrew formula auto-updates
πŸ’» Shell completions bundled (bash, fish, zsh)
πŸ€– Custom GitHub Actions

#CrossCompilation #GitHubActions #CLI

github.com/topheman/web...

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

Is there a tool that, given a set of .d.ts files, gives you the minimum version of TypeScript supported?

TIL @nuqs.47ng.com requires TS ^5, and that requirement came in silently as a feature was merged (const modifiers on generics).

I need to automate this to prevent further type breaking changes.

31.08.2025 14:55 β€” πŸ‘ 11    πŸ” 3    πŸ’¬ 2    πŸ“Œ 0
Preview
Add Go Language Support for WebAssembly Component Model Plugins by topheman Β· Pull Request #16 Β· topheman/webassembly-component-model-experiments What's New πŸš€ Go Plugin Support New Go plugin ecosystem: Added go_modules/ directory structure for Go-based plugins Echo plugin in Go: Implemented plugin-echo-go as a reference Go plugin WIT bi...

Added #Golang support to my #WebAssembly Component Model based project, thanks to @tinygo.org compiler.

#WASI #WASM #webdev #rust πŸ¦€ #TinyGo

github.com/topheman/web...

28.08.2025 07:59 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

The browser version of the project can now handle WRITE operations in the filesystem.

#WebAssembly #WASM #WASI #rust πŸ¦€

bsky.app/profile/toph...

23.08.2025 08:44 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Support plugin-tee in the web host by topheman Β· Pull Request #15 Β· topheman/webassembly-component-model-experiments Support plugin-tee in the web host This PR adds full support for the plugin-tee plugin in the web host, fixing the issues described in #12. The Challenge The plugin-tee plugin allows users to write...

πŸš€ My #WebAssembly Component Model based project can now handle WRITE operations in the #browser version!

Forked #bytecodealliance/preview2-shim to fix filesystem issues. Now plugin-tee works perfectly in both CLI and web.

#WASI #WASM #webdev #rust πŸ¦€

github.com/topheman/web...

22.08.2025 08:48 β€” πŸ‘ 5    πŸ” 3    πŸ’¬ 0    πŸ“Œ 1
Preview
MIT report: 95% of generative AI pilots at companies are failing There’s a stark difference in success rates between companies that purchase AI tools from vendors and those that build them internally.

MIT’s NANDA initiative found that 95% of generative AI deployments fail after interviewing 150 execs, surveying 350 workers, and analyzing 300 projects. The real β€œproductivity gains” seem to come from layoffs and squeezing more work from fewer people not AI.

20.08.2025 04:51 β€” πŸ‘ 2622    πŸ” 1131    πŸ’¬ 55    πŸ“Œ 344
A screenshot from the tsup repository showing a text above the heading: "Warning: This project is not actively maintained anymore. Please consider using tsdown instead. Read more in the migration guide".

A screenshot from the tsup repository showing a text above the heading: "Warning: This project is not actively maintained anymore. Please consider using tsdown instead. Read more in the migration guide".

tsup is not actively maintained anymore πŸ‘€

With >9M NPM monthly downloads and >10k GitHub stars, tsup is undeniably a popular choice for bundling. Unfortunately, it is not under active maintenance anymore.

Thanks to @egoist.dev & contributors for all the work on tsup πŸ™πŸ»

15.08.2025 07:55 β€” πŸ‘ 68    πŸ” 9    πŸ’¬ 4    πŸ“Œ 0
Preview
Rolldown Integration Next Generation Frontend Tooling

In the latest @rolldown.rs powered @vite.dev version, we've enabled the rust-based resolver plugin by default!
This will lead to even faster builds in case you don't use the experimental native plugins yet.

Wanna try out more native core plugins? Then enable them and make sure to use rolldown-vite

11.08.2025 16:30 β€” πŸ‘ 55    πŸ” 6    πŸ’¬ 0    πŸ“Œ 0

the main thing that makes me uneasy about llms is the cultural backdrop of global war on knowledge. the war on knowledge isn’t new but now it’s cheered on from tech too. tools for thought pivoted to slot machines because that’s what people want. β€œhow things work” is buried under opaque indirections

10.08.2025 09:41 β€” πŸ‘ 264    πŸ” 28    πŸ’¬ 3    πŸ“Œ 6

obviously actual domain knowledge isn't going anywhere so it seems like the gap between more experienced and less experienced developers will widen? with less knowledge transfer and incentives to learn. i've learned a lot from conversations i'm no longer observing

09.08.2025 16:19 β€” πŸ‘ 78    πŸ” 2    πŸ’¬ 5    πŸ“Œ 4

πŸ‘€ React + throw a promise technique, soon deprecated?

If you throw promises to trigger Suspense boundaries, it looks like a good idea to migrate to React.use()

PR not merged yet, but it's likely React will print a warning

29.07.2025 15:31 β€” πŸ‘ 17    πŸ” 5    πŸ’¬ 1    πŸ“Œ 0
Release pluginlab@0.4.2 Β· topheman/webassembly-component-model-experiments πŸš€ New Features Enhanced Error Handling for WIT Interface Mismatches Added intelligent error detection when loading incompatible WebAssembly plugins Provides user-friendly error messages with speci...

Added a new feature to help users resolve version mismatches between the CLI and the plugins (breaking changes in the WIT files).

#WebAssembly #WASM #WASI #rust πŸ¦€

github.com/topheman/web...

25.07.2025 16:04 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
GitHub - topheman/webassembly-component-model-experiments: WebAssembly Component Model based REPL with sandboxed multi-language plugin system - unified codebase runs in CLI (Rust) and web (TypeScript) WebAssembly Component Model based REPL with sandboxed multi-language plugin system - unified codebase runs in CLI (Rust) and web (TypeScript) - topheman/webassembly-component-model-experiments

#WebAssembly Component Model is promising, but examples are either too simple or too complex.

I built a REPL with plugins that work in both CLI & web, sandboxed by default, and the REPL logic itself compiles to #WASM.

Beyond hello world but still learnable! #WASI #rust πŸ¦€
github.com/topheman/web...

24.07.2025 10:29 β€” πŸ‘ 3    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Preview
Add C Language Plugin Support by topheman Β· Pull Request #6 Β· topheman/webassembly-component-model-experiments This PR introduces support for WebAssembly Component Model plugins written in C, expanding the plugin ecosystem beyond Rust implementations. You will be able to run this kind of command in the REPL...

And it recently supports C language plugins - complete toolchain with WASI SDK, CI/CD and browser support. #WebAssembly

github.com/topheman/web...

19.07.2025 14:09 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
import.meta.resolve() - JavaScript | MDN import.meta.resolve() is a built-in function defined on the import.meta object of a JavaScript module that resolves a module specifier to a URL using the current module's URL as base.

TIL: import.meta.resolve('./relative/path')

Goodbye:
new URL('./relative/path', import.meta.url).href

πŸ₯³

developer.mozilla.org/en-US/docs/W...

27.06.2025 11:35 β€” πŸ‘ 3    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Preview
A brief history of JavaScript | Deno In 30 years, JavaScript went from being a little scripting language to one of the world's most popular. Here are key moments to show how it has evolved and where it is headed.

This month, JavaScript turns 30 πŸŽ‚

Here are key moments showing how JavaScript evolved from a little scripting language to one of the world's most popular πŸ‘‡

deno.com/blog/history...

22.05.2025 16:05 β€” πŸ‘ 141    πŸ” 30    πŸ’¬ 5    πŸ“Œ 11

@topheman is following 20 prominent accounts