News for hackers. Stuff that matters.
Re:Scopes – Retargetable programming language and infrastruc... by mehrdadn on Monday May 06, 2019 @01:07AM (#19837008)
Has anybody managed to figure out how to use compile-object to produce executables?
Re:Scopes – Retargetable programming language and infrastruc... by mehrdadn on Monday May 06, 2019 @04:42AM (#19837768)
Update: I found a demo in their source code in testing/test_object.sc which you can apparently compile to a nice and tiny ~16 KiB executable via:

  scopes test_object.sc && clang -O3 -s -o test.exe test.o
Re:Scopes – Retargetable programming language and infrastruc... by jacereda on Thursday May 09, 2019 @07:40AM (#19867251)
On Mac it's a bit less (8k) and size reports:

   text    data     bss     dec     hex filename
    172      24      44     240      f0