News for hackers. Stuff that matters.
Re:OCaml Canvas by tempodox on Tuesday December 13, 2022 @03:30AM (#33966174)
This looks to be a much improved version of what used to be provided by the now defunct `Graphics` module. Definitely have to try it out. `Graphics` was X11-only, but it was the only way to produce on-screen graphics directly in OCaml (i.e. without using a web browser or other image display app). Very nice to have something like that again.
Re:OCaml Canvas by octachron on Tuesday December 13, 2022 @03:42AM (#33966245)
The graphics library still exists, it is only distributed as a separate library rather than bundled with the compiler distribution, which seems like a better fit for a pedagogical library like `graphics`. Also `graphics` works fine on Windows. In fact, nowadays the edge-case for `graphics` support is MacOs with its dwindling support for X11.