-
You should consider using crystal's simple C bindings to leverage LAPACK power.
Someone started this over here - but looks unmaintained.
https://github.com/mverzilli/crystalla/
Looks closer
…
-
Proposal: A new shards command to see all licenses in use.
```shards licenses```
Output:
```
foo MIT
gmp GPL2+
dynamic link -lgmp GPL2
baz GPL2,GPL3
static link -lbaz MIT,Apache,Other
…
-
crystal -v
Crystal 0.35.1 [5999ae29b] (2020-06-19)
LLVM: 8.0.0
Default target: x86_64-unknown-linux-gnu
```
require "sqlite3"
require "db"
db =DB.open("sqlite3://luckdb")
db.query_all("S…
Geo-7 updated
4 months ago
-
Using `try { .. }` to guard against type that may a value or nil causes an error to be thrown:
```
> crystal build minimal.cr
BUG: called create_llvm_type for I (Exception)
from /crystal/src/c…
-
SDL is kind of limited when it comes to drawing primitives (no polygon, circle, arc support). We could switch to using Cairo. There's a homebrew formula for cairo and someone has already written [cair…
-
https://www.pcre.org/original/doc/html/pcrepattern.html and search for `Recording which path was taken`. Would need to add some additional bindings to `LibPCRE` and expose this value via `MatchData#ma…
-
I've been reading book sequentially and stumbled upon this
https://crystal-lang.org/reference/syntax_and_semantics/literals/proc.html
> A Proc represents a function pointer with an optional contex…
-
We already have two use cases for load-time dynamic linking on Windows: [distributing the LLVM libraries](https://github.com/crystal-lang/crystal/issues/11492#issuecomment-984247443), and [linking to …
-
Since Crystal 1.11.0 the interpreter breaks while booting up because it cannot load `libpthread`.
It works fine when `pkg-config` is unavailable.
Reproduction steps (using Arch Linux, but it appea…
-
```cr
module Foo; end
struct CallbackProc
def self.new(&block : Foo -> Nil)
block
end
end
callback = CallbackProc.new do |foo|
foo.some_missing_method
end
```
https://play.c…