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
You appear to be advocating a new: | |
[ ] functional [x] imperative [ ] object-oriented [x] procedural [ ] stack-based | |
[ ] "multi-paradigm" [ ] lazy [x] eager [x] statically-typed [ ] dynamically-typed | |
[ ] pure [x] impure [ ] non-hygienic [ ] visual [ ] beginner-friendly | |
[ ] non-programmer-friendly [ ] completely incomprehensible | |
programming language. Your language will not work. Here is why it will not work. | |
You appear to believe that: | |
[ ] Syntax is what makes programming difficult | |
[ ] Garbage collection is free [ ] Computers have infinite memory |
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
# LLVM 17.0.1 Passes | |
## default<O0> | |
always-inline, | |
coro-cond( | |
coro-early, | |
cgscc( | |
coro-split |
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
/* characters */ | |
newline = /* the Unicode code point U+000A */ . | |
unicode_char = /* an arbitrary Unicode codepoint except newline */ . | |
unicode_letter = /* a Unicode code point categorized as "Letter" */ . | |
unicode_digit = /* a Unicode code point categorized as "Number, decimal digit" */ . | |
letter = unicode_letter | "_" . | |
decimal_digit = "0" ... "9" . | |
binary_digit = "0" | "1" . |
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
package d3d11_main | |
import D3D11 "vendor:directx/d3d11" | |
import DXGI "vendor:directx/dxgi" | |
import D3D "vendor:directx/d3d_compiler" | |
import SDL "vendor:sdl2" | |
import glm "core:math/linalg/glsl" | |
// Based off https://gist.github.com/d7samurai/261c69490cce0620d0bfc93003cd1052 |
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
package objc_test | |
import NS "vendor:darwin/Foundation" | |
import MTL "vendor:darwin/Metal" | |
import CA "vendor:darwin/QuartzCore" | |
import SDL "vendor:sdl2" | |
import "core:fmt" | |
import "core:os" |
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
// WASM-4: https://wasm4.org/docs | |
package wasm4 | |
foreign import wasm4 "env" | |
#assert(size_of(int) == size_of(u32)) | |
// ┌───────────────────────────────────────────────────────────────────────────┐ | |
// │ │ | |
// │ Platform Constants │ |
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
// WASM-4: https://wasm4.org/docs | |
package wasm4 | |
foreign import wasm4 "env" | |
#assert(size_of(int) == size_of(u32)) | |
// ┌───────────────────────────────────────────────────────────────────────────┐ | |
// │ │ | |
// │ Platform Constants │ |
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
package main | |
import "core:fmt" | |
import glm "core:math/linalg/glsl" | |
import "core:time" | |
import SDL "vendor:sdl2" | |
import gl "vendor:OpenGL" | |
main :: proc() { |
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
package microui_raylib | |
import "core:fmt" | |
import "core:unicode/utf8" | |
import rl "vendor:raylib" | |
import mu "vendor:microui" | |
state := struct { | |
mu_ctx: mu.Context, | |
log_buf: [1<<16]byte, |
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
package main | |
/******************************************************************************************* | |
* | |
* raylib - classic game: tetroid | |
* | |
* Sample game developed by Marc Palau and Ramon Santamaria | |
* | |
* This game has been created using raylib v1.3 (www.raylib.com) |
NewerOlder