Hacker News new | ask | show | jobs
by shakna 107 days ago
How's Gleam's IO story today? Still need to go via OTP?
1 comments

Under the hood you're still calling into BEAM/OTP but most operations are covered in gleam, at least I've very rarely needed to FFI into Erlang (couple times to extend what a library provides with a custom edge case).

gleam/io, mist, gleam/otp, sqlight, gleam_pgo, etc.

gleam/io doesn't actually support file IO, though, does it? Only printing to stdout.

So you'd need to use FFI just to write to disk, right?

There’s simplifile