trill-lang / trill

A type safe, compiled language inspired by (and written in) Swift
MIT License
275 stars 15 forks source link

Remove GC & build the runtime with swiftpm #63

Closed segiddins closed 7 years ago

harlanhaskins commented 7 years ago

Also the build script needs to be updated to move the runtime from the new SwiftPM-devised destination.

segiddins commented 7 years ago

Also the build script needs to be updated to move the runtime from the new SwiftPM-devised destination.

I think I've already done that?

harlanhaskins commented 7 years ago

IOError: [Errno 2] No such file or directory: '/Users/distiller/trill/.build/Debug/lib/libtrillRuntime.a'

segiddins commented 7 years ago

Also, I don't think we should rename runtime to trillRuntime. You can set a custom source dir in the package manifest.

but that would conflict with the existing Runtime directory

segiddins commented 7 years ago

Looks good -- we should I guess say that trill is gonna leak like crazy until we add ARC...

We could also just write a mark/sweep GC in the meantime :P

segiddins commented 7 years ago

@harlanhaskins I think I did what you wanted w/r/t the location of the runtime?

harlanhaskins commented 7 years ago

Looks great!

segiddins commented 7 years ago

Merging, despite the random CI failures.