janriemer,

TypeScript Origins: The Documentary - by OfferZen Origins

https://farside.link/https://www.youtube.com/watch?v=U6s2pdxebSo
(or YT: https://www.youtube.com/watch?v=U6s2pdxebSo)

They couldn't have chosen a better time for this !

Use TypeScript!

janriemer,

Rooting for this kind of documentary, but for !

That would be so awesome!🤓

mo8it, (edited )
@mo8it@fosstodon.org avatar

@janriemer I watched it yesterday. A very good documentary!

I watched it while migrating some JavaScript to TypeScript. Suddenly, my scripts were a bit more sane!

I made a transition for frontends with these stages:

  • No JS!
  • Maybe I have to use JS somstimes, but keep it minimal. Still I hated my life
  • TypeScript makes this mess a bit more sane. It still sucks because its basement is fragile, but I don't see a better alternative for some interactivity in the web.
mo8it,
@mo8it@fosstodon.org avatar

@janriemer Don't get me wrong, WASM is very promising with Rust, but it is not there yet for my small use cases.

Sure, for web games and similar computing intensive stuff you should use WASM. Even Web UIs like the web backend of egui. But for simple but interactive plots for example, nope. A JS/TS library is much easier and even more lightweight.

janriemer,

@mo8it I completely agree with you!

I think WASM is great for logic heavy stuff (not only compute-heavy). But for interactivity, like you've said, JS/TS is a great fit.

I've used WASM to build a transpiler, but haven't used it yet to build the entire frontend. I'd like to do something with leptos someday, but I can imagine it being somewhat "heavy" (compared to JS/TS).

mitka,

@janriemer @mo8it WASM is Webstart part two.

janriemer,

@mitka @mo8it If you mean Java Webstart:

I don't know this technology, but I've just read about it.

WASM is probably the most influential technology of the future, so it doesn't seem to be the right comparison. ¯_(ツ)_/¯

mitka,

@janriemer @mo8it so was Java Webstart during the Sun Microsystems era. “Write Once, Run Anywhere”. Then Microsoft took offense to Java, embraced and extended it so it wasn’t compatible anymore, Sun lost the battle and was acquired be Oracle, and Java was relegated to the server. The rest is history.

janriemer,

@mitka @mo8it Well, WASM has been created in a completely different context. All major browser vendors have agreed on what is now a web standard!

But anyway I won't argue with you here. Have a nice day. 😉

mitka, (edited )

@janriemer @mo8it It's never exactly the same for every incarnation of "web enabled applications". Webstart missed on standardization, but also adoption. If you look one level of abstraction back, the web browser is an application that allows others to run their business logic within it. That concept has been through iterations.

It will happen again when the followup to WASM comes around.

Also... arguing? Just thought we were discussing technology similarities.

But sure, you too.

mo8it,
@mo8it@fosstodon.org avatar

@janriemer Both Microsoft and Google are good candidates for producing such a documentary about Rust :D

janriemer,

@mo8it Actually let's hope this won't be the case. 😬

I'd much rather prefer Mozilla producing such documentary.🙂

  • All
  • Subscribed
  • Moderated
  • Favorites
  • brainfood
  • magazineikmin
  • rosin
  • ngwrru68w68
  • Youngstown
  • love
  • slotface
  • tacticalgear
  • Durango
  • kavyap
  • khanakhh
  • thenastyranch
  • DreamBathrooms
  • cubers
  • ethstaker
  • megavids
  • GTA5RPClips
  • mdbf
  • InstantRegret
  • normalnudes
  • osvaldo12
  • everett
  • modclub
  • cisconetworking
  • tester
  • Leos
  • provamag3
  • anitta
  • JUstTest
  • All magazines