treyhunner, to python
@treyhunner@mastodon.social avatar

Today I'm wondering how I could get the new Python 3.13 REPL working in WebAssembly in the browser. 🤔

xterm-pty for xterm.js looks possibly helpful, but I'm unsure how to use it: https://github.com/mame/xterm-pty

I'm also wondering what CPython will need to be configured in its environment to properly trigger the new REPL.

I'm a TTY novice and definitely feel in over my head with this train of thought. 😅

tomayac, to webassembly
@tomayac@toot.cafe avatar

Drumming up some excitement 🥁… I just recorded the first episode of a new podcast series that I'm hosting: the , your monthly podcast gathering of people to geek out about all things .

My first guest was no other than OG @kripken, whom you may associate with projects like and, you know, WebAssembly, the language. The episode should go up mid April, watch this space!

Yes. It's WasmAssembly, a name smarter than hairdresser 💇 names à la United Hairlines.

itnewsbot, to retrocomputing
@itnewsbot@schleuss.online avatar

Writing And Running Atari 2600 Games In Your Browser - Here in 2024, writing new games for the venerable Atari 2600 game console is easie... - https://hackaday.com/2024/01/22/writing-and-running-atari-2600-games-in-your-browser/

ypujante, to webassembly
@ypujante@fosstodon.org avatar

I am very happy to announce the 1.0 release of my new free and open source project emscripten-glfw (https://github.com/pongasoft/emscripten-glfw) which is a port of glfw written in C++ for the web/webassembly platform. Check out the live demo: https://pongasoft.github.io/emscripten-glfw/test/demo/main.html.

tomayac, to webassembly
@tomayac@toot.cafe avatar

Wow, VS Code can now debug if the code is annotated with Dwarf debugging information (via the -g flag in ): https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_debugging-webassembly.

kalankaboom, to webassembly

Hey everyone, I just made something cool!
I wrote a fractal viewer in C++, compiled it to using , and put it on my website (https://kalankaboom.net/).

I wrote an article on how I made it, and I would love for you to check it out and give me all the feedback you can!

Here's the article :
https://kalankaboom.net/articles/rewrite_it_in_wasm.html

And here's the tool :
https://kalankaboom.net/projects/mandelwasm/

@cpp

tomayac, to random
@tomayac@toot.cafe avatar

📢 Heads up, WebAssembly fans: we have a new Wasm collection!

👉 https://web.dev/wasm 👈

This is your one-stop shop for everything #WebAssembly (#Wasm) and #Emscripten curated by WebAssembly DevRel yours truly.

On top, I’ve also worked on absolute beginner Wasm material:

🔥 What is WebAssembly and where did it come from? https://web.dev/what-is-webassembly/

📚 A step-by-step tutorial on Compiling mkbitmap to WebAssembly https://web.dev/compiling-mkbitmap-to-webassembly/

MausGames, to gamedev

I've created a web demo of Eigengrau and it runs quite well. 😎

https://mausgames.itch.io/eigengrau-demo

video/mp4

ramin_hal9001, to random
@ramin_hal9001@emacs.ch avatar

Really cool post by someone called "Vito Van" who wrote a game in and tried to get it to run in the browser. He tried an () to C to pipeline with but was not able to pull in the necessary graphics dependencies.

Then he tried JSCL, a Common Lisp to JavaScript compiler that is implemented in Common Lisp and so it can bootstrap itself with any standard Common Lisp compiler.

I learned about a lot of Common Lisp on the Web technologies I had never heard of before, it was well worth it to read.

yujiri, to random
@yujiri@social.freetalklive.com avatar

excited for the build of ! Almost all the pieces are in the place, I've figured out how to wrangle into cooperating. I just need the folks to release async support and then I can write the necessary websocket API.

ramin_hal9001, to random
@ramin_hal9001@emacs.ch avatar

I just built and installed ECL (hompage) onto my computer, and after playing around with it for only a few minutes, I am quite impressed with it!

  • First off, the entire installation is only 40 MB, so this is definitely one of the more compact Common Lisp implementations I have ever seen.
  • It emits C code, native shared libraries, native static libraries, and native executables.
  • It uses libffi for C interoperability.
  • It provides ASDF, and the ability to install packages from QuickLisp
  • It implements Lisp standard processes on top of Pthreads
  • It provides some bindings to Qt4 for GUI programming
  • It implements all of CLOS

All of that in just 40 MB (not including Qt, which you need to install separately). The only drawback so far is that the documentation has some gaps in it.

But I definitely want to play around with some more. The trouble is most Common Lisp packages written nowadays only support SBCL. I would like to see how much of the Common Lisp ecosystem I can actually use through ECL. I wonder if I could maybe port something like the Lem text editor over to ECL instead of building it with SBCL, but that might prove impossible.

Anyway, my overall impression right now is that I have a very lightweight but powerful Common Lisp compiler at my disposal now that can easily be embedded into any C program I want, which is very exciting!

Thanks to @screwtape and @rml and @louis for turning me onto ECL!

screwtape,
@screwtape@mastodon.sdf.org avatar

@ramin_hal9001 @rml @louis
adjacently, one of the cool people shared with me the commit from 6 months ago adding compilation support to
https://itch.io/post/7892451#:~:text=vitovan-,3%20hours%20ago,-(%2B1)
Now how many hours do I actually have left to figure this <_>

yujiri, to random
@yujiri@social.freetalklive.com avatar

took control of main away from me, and i want revenge.

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