file reading

2 moment(s) that assert this concept — showing 1–2 of 2

moderateTwo independent sources — corroborated, but not broadly
↣ how this spread over time →
provenance — click a node to open its encoding unit
[1] Nimward[2] Bun
showing 2 of 2 moments
Nimward · youtube · en
1The run method in the interpreter reads a file as a string (array of bytes) and passes it to a parser or evaluator for execution.
“it just uh reads the file gets it as a string right in this case it's an array of bytes and then construct a”
spoken · 423s · 2023-10-08
Bun · youtube · en
2Bun provides built-in APIs for common developer tasks such as reading and writing files, with lazy loading and browser-like file object properties.
“Bun has baked in APIs for the things you need most as a developer. Now, for example, if you want to read a file, you can just use bun file. Bun file returns a file object. It has the same properties as the file API in browsers.”
spoken · 232s · 2023-09-07