-
Download source from source (https://www.sqlite.org/download.html)
For example: source
https://www.sqlite.org/2020/sqlite-amalgamation-3310100.zip
-
Download binary from binary
For example: binary
https://www.sqlite.org/2020/sqlite-dll-win64-x64-3310100.zip
-
Extract both archives to the same directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="app"></div> |
I hereby claim:
- I am vladfaust on github.
- I am vladfaust (https://keybase.io/vladfaust) on keybase.
- I have a public key ASBTXeiRDhVlIn8XzvrnXtS-SULcuuB1-dBfSciL--FviAo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
BasedOnStyle: LLVM | |
KeepEmptyLinesAtTheStartOfBlocks: false | |
BinPackArguments: false | |
BinPackParameters: false | |
AllowAllParametersOfDeclarationOnNextLine: true | |
BreakConstructorInitializers: AfterColon | |
AlignAfterOpenBracket: AlwaysBreak | |
ConstructorInitializerAllOnOneLineOrOnePerLine: true | |
ColumnLimit: 100 |
This gist is intended to give a choice between two Onyx memory models — weak and strong.
The weak model would imply possibility of memory reorderings done by the compiler, which would result in great performance by default, but create issues when doing lock-free programming.
The strong model would be simpler to newcomers, but slower, requiring to write more code to make it faster.
Note that in all examples above, async
means executing in another thread, as soon as possible.
Please see the introduction to memory ordering,
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@dokku2:~# dokku report crystaljobs | |
-----> uname: Linux dokku2 4.4.0-142-generic #168-Ubuntu SMP Wed Jan 16 21:00:45 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux | |
-----> memory: | |
total used free shared buff/cache available | |
Mem: 988 474 142 21 371 262 | |
Swap: 4095 273 3822 | |
-----> docker version: | |
Client: | |
Version: 18.09.2 | |
API version: 1.39 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class A | |
def sum(a, b) | |
a + b | |
end | |
end | |
A.new.sum("foo", 42) # Compilation-time error, `String` cannot be summed with `Int` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class A | |
def sum(a : Int, b : Int) : Int | |
a + b | |
end | |
end | |
A.new.sum("foo", 42) # Compilation-time error, `a` is not Int32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def hello(who) | |
puts "Hello, #{who}!" | |
end | |
hello("world") # puts "Hello, world!" |
NewerOlder