Elektrine lite

← Feed

@hongminhee@hollo.social

Post #4184232

2026-07-24 09:43 UTC

@bgl@hackers.pub Different goals, really. AssemblyScript is its own statically-typed language that happens to look like TypeScript: it accepts a strict subset of the syntax, wants explicit types like i32/f64 rather than dynamic values, and doesn't implement JavaScript's actual object and prototype semantics. You write new code specifically within those constraints to get compact WebAssembly out. Oseo is trying to keep full ECMA-262 dynamic semantics, arbitrary shapes, any, all of it, and still reach native code, with types and JSDoc used only as opt-in hints that fall back to a compiled generic path whenever they're wrong. AssemblyScript trades JavaScript semantics for a clean path to WebAssembly; Oseo is betting it doesn't have to make that trade. Similar-looking syntax, close to opposite premises.

Replies (1)

  • @bgl@hackers.pub 2026-07-25 03:11

    @hongminhee@hollo.social Ah I see. Are you aware of Static Hermes? It has a similar goal then as its current target platform is React Native only.

    Open ##4184238