Comments (1)
Odin can already interface with static and dynamic library very easily. It's how it interfaces with win32, opengl, and numerous other APIs. See sys/windows.odin for a big example. (The only thing not supported is C-style varargs in the calling conventions but that's due to numerous reasons).
I do think C can be replaced, but you are correct that there will be a transition period where you want/have to use existing C code. I want this language to replace my needs for C, completely, and I think it is already very possible to do so.
n.b. I already use Go(lang) for a lot server work and I don't need to interface with C at all as its libraries and tooling is so good that I don't need to interface with C (i.e. cgo).
from odin.
Related Issues (20)
- I beleave there is a bug in the compiler when you pass a specific odin file and the file doesn't existe. HOT 1
- `odin run something_invalid.odin -file` silently fails HOT 1
- Quaternion construction fails assertion and panics HOT 2
- Invalid type panic on struct literal with using bit_field
- linalg.transpose crashes on row_major matrices HOT 1
- core:text/i18n: separate get() calls requiring a quantity parameter from calls not requiring it (proposal)
- cpp panic when comparing struct with it's subtype
- Swizzling arrays into longer arrays sometimes results in a segfault HOT 6
- memory alignment bug in core:mem.dynamic_pool_alloc_bytes() in cases where no padding is needed?
- `%w` in `fmt` is undocumented HOT 2
- Casting int to array backed bit_fields can crash the compiler HOT 2
- Error handling in read_dir on Windows
- Passing struct containing 128-bit integer panics HOT 1
- Compiler assertion for conversion from i32 to union{i32} HOT 1
- `core:odin/parser` package doesn't support putting labels on `#reverse for in` loops HOT 1
- Identity quaternion shows wrong value in debugger
- `linalg.angle_axis_from_quaternion` returns `[NaN, NaN, NaN]` axis for identity quaternion HOT 1
- `#force_*inline` after label segfaults HOT 1
- Poly code crashes compiler. HOT 1
- [Feature Request] add sqlite3 to vendor collection HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from odin.