https://www.gamespot.com/articles/steam-deck-is-speeding-up-...
275 karma · joined September 19, 2019
https://www.gamespot.com/articles/steam-deck-is-speeding-up-...
I highly encourage taking a look at it and it has also been ported to a wide range of language.
I’m using Nim kiwi with my own GUI library now. I’ll have to take a peak at how enaml is using kiwi for its layouts.
https://kiwisolver.readthedocs.io/en/latest/
https://github.com/alexbirkett/kiwi-java
A great issue documenting a lot of the pain points around this is here: https://github.com/WebAssembly/design/issues/1397
Until this is solved WASM is dead in the water for a huge variety of applications. I am rooting for WASM, but it has been discouraging to watch this go unsolved over the years.
I have successfully used the wrapper from C and Zig as a proof of concept. The main goal was to originally expose SWT for Nim, but I got pretty side tracked. I'll probably make a show HN later this year when I have it in a usable state. I haven't gotten callbacks working quite yet, which makes it pretty useless.
I'm a bit worried about performance, but I'll throw a cassowary constraint manager on top of a ton of widgets and see how it does. Memory usage with an empty window is ~35mb at 1920x1080. It successfully works on Windows, Linux, and MacOS x86 and aarch64.
Also I am curious what HN's thoughts are on general education requirements in the US. It was something put in place in the 60's[1] in an attempt to prevent specialization[2] in education. I am wondering if it's time to reduce that requirement and go with more focused degrees similar to the UK.
Also Gen Ed courses seem like a real money makers for US Universities since there is not scaled tuition. A human lit class costs the same as a STEM course that could require very expressive lab equipment. I am not trying to down play the importance of human literature in this scenario. It just seems odd that it would cost the same as a organic chemistry class that requires a multi million dollar lab, a wide assortment of chemicals, and a staff equipped to maintain it throughout the day.
[1]. https://eric.ed.gov/?id=EJ1090127 [2]. https://www.encyclopedia.com/education/encyclopedias-almanac...
Oranges from warm climates are actually green and are dyed in a lot of cases in the US. A cooler climate is needed to kill of the green pigments in the fall turning them orange.
Fate of food is an interesting book on the food supply chain: https://www.amandalittle.com/fateoffood
Food dying and our perception of flavor: https://www.youtube.com/watch?v=6FPnag_rvU8
A fun video with Paul Hollywood trying the most expensive strawberries: https://youtu.be/895DfGuoqvU
Strong Towns Play List by Not Just Bikes (This heavily covers city planning issues in the US):
https://youtube.com/playlist?list=PLJp5q-R0lZ0_FCUbeVWK6OGLN...
The Suburbs Are Bleeding America Dry by Climate Towns (This covers zoning):
https://www.youtube.com/watch?v=SfsCniN7Nsc
How The Auto Industry Carjacked The American Dream (This covers the auto industries impact on US cities.):
https://www.youtube.com/watch?v=oOttvpjJvAo
Dutch Cities are Better for the Climate (and my sanity) by Not Just Bikes (Not super relevant to zoning, but it's part 1 of The Suburbs Are Bleeding America Dry so I figured I'd link it.):
https://www.youtube.com/watch?v=cO6txCZpbsQ
These are pretty snarky, but fun videos and the authors list their sources. Their video descriptions are worth checking out just to find a ton of reading material on each topic.
The game is pretty sweet though, and it's incredible that it worked within a few hours of launch on Linux!
Let's say each version is taught in a CS 101 class and then the study could follow how well the students learn the rest of their CS curriculum based on the SICP version they started with. Outside embedded and system programming classes the remaining CS curriculum could allow most classes be complete in Scheme or JavaScript.
Too be fair flex box and grid are pretty good. I just wish I didn't have to sometimes skim through huge CSS or SASS files to make layout changes.
[1]https://github.com/d12frosted/homebrew-emacs-plus
I'm currently writing this at a coffee shop surrounded by others all working on various things. I really like the option to work from anywhere.
Teaching people cool new ways to code should be fun, not an exercise in showing everyone the size of your ego.
Its still smaller and less resource intensive than say electron, but man that executable size is pretty brutal for a native app.
For reference the same form made with Haxe + SWT + GraalVM on an intel mac(graalvm native image is not supported on m1 yet) is about 13mb and uses 100mb of ram. Also A jlinked and packaged swt app would probably have better memory management, and end up with a package size in the ball park of 70mb as well.
Again though the Racket API seems nice, but it doesn't expose the native window handle like SWT does which would prevent you from embedding a third party graphics context like GLFW which is kind of a bummer. I've done that with Nim+Tcl to have ab opengl context with Tcltk controls as well as Haxe + SWT + GLFW to have bgfx with native controls.
I just started playing around with clojure last week, but I have yet to do any GUI work with it.
I intended to try out Racket at some point, but this GUI library looks so nice I might start soon.
I wonder if anyone has implemented cassowary contraints yet for Racket and combined the two.
When Java came out in 1996 it became an overnight juggernaut in application development. Java had a ton of hype when it was still in beta in 1995 and TIME magazine even listed it as one of the best products of the year--when it wasn't even released yet.
Microsoft poached Anders Hejlsberg, the primary language designer of Turbo Pascal and Delphi, from Borland in 1996 to have him work J++ their variant of Java. J++ followed the Sun Java spec with a few deviations, but it was just another testament to how quickly Java was taking over.
Borland was now competing with something that was free and they needed to pivot and well...they didn't.
Random articles for further reading: https://en.wikipedia.org/wiki/Anders_Hejlsberg
https://en.wikipedia.org/wiki/Visual_J%2B%2B
http://content.time.com/time/subscriber/article/0,33009,9839...
https://en.wikipedia.org/wiki/Turbo_Pascal
https://stackoverflow.com/questions/8460037/list-of-delphi-l...