<vaninwagen>
sarna yes, this is the intended way to iterate over lines in a file. but beware that this class has severe performance problems right now: https://github.com/ponylang/ponyc/issues/2185
<sarna>
vaninwagen: ow heck. and in the next comment "Yes, using Reader speeds up execution, but I now have problems with memory usage."
<sarna>
thanks though
<sarna>
is there any way of including a text file at compile time? like Rust's include_str! macro
<vaninwagen>
not that i know of, you would have to put it in a triple quoted string. You could automate that from within a makefile, creating a primitive that only contains the string generated from a text-file
<sarna>
ah, I see. it wouldn't be worth it though, I think
<jemc>
Sleeplessy: just checking - have you tried translating "finalizer" instead of "finaliser"? It's a more commonly recognized spelling
<jemc>
when I use google translate on "finaliser", it incorrectly guesses that the input is french instead of english; when I use "finalizer", it gives the Chinese equivalent as 终结
<xcombelle>
jemc: you can set the source language in google
<jemc>
xcombelle: sure, but the point of mentioning the wrongly guessed language was to illustrate that "finaliser" is a much less common english spelling for the term
<jemc>
FWIW, when forcing the language as English on the input, google translate wasn't able to come up with a Chinese result
<xcombelle>
@jemc it is just that finaliser in french is a very common workd
<xcombelle>
and is not the computer world
dipin has joined #ponylang
<jemc>
xcombelle: note my latest comment though - google translate gave a translation for "finalizer" (english), but wasn't able to recognize/translate "finaliser" (english)
<jemc>
sarna: yeah, all number literals have to be inferrable from their context in some form
<jemc>
when in doubt, you can make it explicit using the "constructor" syntax for numbers like `U32(1)`, which translates to `U32.create(1)`
<sarna>
thank you very much
<sarna>
I was very excited about this language, though, having read the linkedin piece about the end of causality, I'm a little worried now. have all the original contributors abandoned the project?
<sarna>
I mean it's still a good language, I'm just curious about its current status
<SeanTAllen>
Sylvan has always been the heart and soul of Pony. He is still actively involved.