Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
heyheni15321219dappart from that how's wasm working for you? are you satified with the benefits it offers? tell us about your experience with web assembly. I'm curious. 🙂
hexc1415219d@heyheni so I'm it for opengl, and using emscripten for building, and most things are working really well. A few issues I've had to overcome are: the GLFW is supported but there are some issues with it and documentation is not always available for everything so I switched to using the well documented emscripten window/input callbacks which were relatively easy to addapt to my engine framework. You can't include external libraries which can make some tasks a bit awkward. The available closure compiler that is packed with emcc mangles the naming on one of the functions I use so currently I'm not using it but it shouldn't be difficult to make my build chain fix the mangled function after its generated. I've included a picture of a GPU skinned mesh rendering at 60 fps in chrome on my phone. The model has 52 bones and WebAssembly handles it perfectly. I've set up my code base to use the emscripten preprocessor directive to allow me to compile the code base on any system and it just works!
hexc1415219d@heyheni yeah, I'm really happy with the outcome. It's also awesome from an efficiency standpoint, using gzip or brotli compression on the binary file formats used by web assembly for the .wasm and .data files work Really well. That web page only transmits around 450kb of data on chrome with brotli. The wasm loads instantly also. (It will probably slow down once there are more assets etc but I'm sure it will still be fast)
Your Job Suck?
Take a quick quiz from Triplebyte to skip the job search hassles and jump to final interviews at hot tech firms
Get a Better Job
cdrice74"You gave us bad code! We ran it and now production is DOWN! Join this bridgeline now and help us fix this!" ...
MoboTheHobo27My Friend: Dude our Linux Server is not working anymore! Me: What? What did you do? My friend: Nothing I swe...
tommy10Right now someone at Google is coding something useless for us to laugh at on April Fools.