r/programmingcirclejerk • Software Craftsman • Dec 30 '17

Retiring Python as a Teaching Language because Javascript

http://prog21.dadgum.com/203.html
39 Upvotes

46 comments sorted by

View all comments

6

u/enchufadoo not Turing complete Dec 31 '17

def lol_no_gui_libraries(unjerk):

isn't webassambly supposed to solve this? we can all program multiplatform electron games in 2018 using other languages.

9

u/[deleted] Dec 31 '17

WebAssembly, like every similar technology before it, is indeed supposed to solve this problem, and doesn't.

This is the Zen of Web Development.

2

u/Tysonzero Jan 02 '18

Can you elaborate on exactly how it doesn't? From what I heard once proper DOM manipulation and GC hooks are implemented it will solve that problem.

2

u/[deleted] Jan 02 '18

It doesn't offer DOM manipulation or GC hooks, which are pretty much essentials for doing anything on the web other than mining bitcoins in the background. The graveyard of web technologies from Java to Flash to Silverlight is filled with platforms that could have been game-changing but for one thing, whether it was security and stability or portability or performance, that was officially on the road map but never delivered. Without DOM at the very least WebAssembly is just a toy.

2

u/Tysonzero Jan 02 '18

But WASM is getting both of those things... I think it's extremely premature to write it off as "not solving those problems" considering it's still under development and will absolutely end up win those features.

2

u/[deleted] Jan 02 '18

"Getting" implies currently not having. Ergo, not solving the problem it needs to solve. Someday, maybe it will - but that day is not today, and given the pace of development for web standards, I'm not holding my breath.

2

u/Tysonzero Jan 02 '18

I mean sure, at the moment it does not solve that problem. But I took the original comment to be along the lines of "Isn't Frank supposed to solve this", so in other words future tense, treating WASM appropriately as the changing thing that it is. Not to be along the lines of "Isn't dimethylmercury supposed to solve this", in which case your response would make more sense.

0

u/[deleted] Dec 31 '17

[deleted]

10

u/Earhacker Code Artisan Dec 31 '17

They will call it Wython. You heard it here first.

7

u/[deleted] Dec 31 '17

They should call it whython

1

u/r2d2_21 groks PCJ Jan 01 '18

Why tho? (N)

3

u/haskell_leghumper in open defiance of the Gopher Values Dec 31 '17

brb doing this from a script tag right now

2

u/VitulusAureus memcpy is a web development framework Dec 31 '17

Also, check out Brython.

4

u/haskell_leghumper in open defiance of the Gopher Values Dec 31 '17

Yes, but it's still in its infancy. I don't think web assembly code can access the DOM without going through JS yet.

2

u/gogenerics 👉😎👉 embrace the script Dec 31 '17

webgl