Hacker Newsnew | past | comments | ask | show | jobs | submit | wedesoft's commentslogin

Yes, the main function is the worst part of the code. Whenever I discover a pattern, I refactor it and put it in a module.


Yes, I forgot. However Clojure multi methods are more generic in that the function computing the dispatch value can also be defined.


Good point. I definitely need to keep an eye on garbage collector pauses. I am using the new ZGC which supposedly has very short garbage pauses.


In the past I have done some rigid body physics in GNU Guile (see https://www.youtube.com/watch?v=zBq3kW2jVxs for example). Of course if you need to simulate many objects, you will hit performance problems sooner if you don't use C/C++/Rust. Also the developer of Jolt has solved quite difficult problems, so I was quite happy to use it instead of rolling my own.


I am aware of Neanderthal. I think it is more suitable for larger tensors and matrices. Will have to check out what ham-fisted is about.


I use a few macros for creating contexts (i.e. with-texture, with-stencil, with-scissors, with-tar). Also I have macros for rendering (onscreen-render, offscreen-render). However I try not to overuse macros.


That's a lot of features. Moon is on my TODO list though and eclipses would be nice as well.


Thanks.


Thanks. Yes, Malli is really nice. Unfortunately it doesn't let you decorate type-tagged methods.


Yes, space station docking is on my todo list.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: