c3lang / c3c

Compiler for the C3 language
https://c3-lang.org
GNU Lesser General Public License v3.0
3k stars 184 forks source link

The big 1.0 #1456

Open lerno opened 2 months ago

lerno commented 2 months ago

I'm collecting small pieces of things needed for 1.0 that aren't really ready to go into issues yet into this single issue.

Nice to haves:

Stdlib features

Caleb-o commented 2 months ago

Very exciting!

lerno commented 2 months ago

ZIP compression? yoinks C# ZIP library implementation

If you want to. There are a lot of them out there.

rodgomesc commented 1 month ago

What is still needed to complete Android support? Is there a to-do list available anywhere?

lerno commented 1 month ago

Something like this @rodgomesc

  1. Make sure linking links the proper libraries
  2. Decide what Android platforms to support (32 bit ARM for example?)
  3. Add CI for Android compilation
  4. Fix whatever special ABI changes Android has compared to Linux
  5. Linking should work off the bat, so there should be a way to pull in the needed libraries for linking, initially perhaps as an external script, but later as something in the compiler itself which downloads needed dependencies.
  6. Add some bindings to essential Android libraries.
radekm commented 6 days ago

Zip compression

This also means ZIP decompression? If that is so, I wonder how to deal with different kinds of ZIP archives produced by different implementations. Recently I watched Josh Wolfe's talk about yauzl library and invalid ZIP archives produced by Mac Archive Utility (you can see the GitHub issue https://github.com/thejoshwolfe/yauzl/issues/69). It seemed that creating a reliable ZIP decompressor which works with most ZIP archives is a really hard task.

lerno commented 6 days ago

I think a best effort thing would be reasonable @radekm. Something on par with Java's built in zip library code.