-
## Bug Report
```sh
crystal -v
Crystal 1.10.1 [c6f3552f5] (2023-10-13)
LLVM: 15.0.7
Default target: x86_64-unknown-linux-gnu
```
The following code crashes:
```cr
class VTime
al…
-
These seem to be the same examples included in crystal lang with the exception of sdl_ext.cr which I'm guessing makes it compatible with SDL2?
I'm guessing that sdl in the crystal repo just works w…
-
```cr
class Foo
property id: Int32? = 1
end
```
Trying to format this results in:
```cr
expecting =, not `IDENT, id`, at :2:12 (Exception)
from /crystal/src/compiler/crystal/tools/format…
-
## Discussion
- What aspect of the language would you like to see improved?
Process.run to have an option to kill the child if the primary process exits
- What are the reasons?
This simpli…
-
In the compiler's processing, instance vars are only initialized after all top-level code has been analyzed. Thus accessing the instance vars in top-level code has no result.
```cr
class Foo
@f…
-
- http://crystal-lang.org/docs/syntax_and_semantics/c_bindings/
- https://groups.google.com/forum/#!topic/crystal-lang/FOl6564_eJA
-
Unlike in Ruby it seems like `File.read`ing a file that's at least 2GB in size doesn't work.
Consider the following:
```
$ dd if=/dev/zero of=/tmp/dummy bs=1M count=2048
$ echo 'File.read("/tm…
koute updated
4 months ago
-
I installed using brew tap/update/install instructions, and now I cannot run the latest 0.7.6 version.
```
$ crystal
dyld: _dyld_bind_fully_image_containing_address() error
dyld: Symbol not found: _…
-
What do folks think about a page that explains a little bit about `to_s`, `to_s(io)`, `inspect`, `inspect(io)`, puts, pretty_print etc.? I find that there's just enough room for confusion here that I'…
KCErb updated
5 years ago
-
The default malloc implementation `GC.malloc` is supposed to zero the allocated memory. This is a sane default choice because it ensures a clean starting field. The GC won't risk incorrectly assuming …