libera/#clasp - IRC Chatlog
Search
13:36:05
Bubblegumdrop
chsasank yes, if your asd file has a :components section that says "my-demo" ASDF will look for a file called "my-demo.lisp" regardless of whether it has content or not
13:36:32
Bubblegumdrop
I'm not certain if you can have an asdf:defsystem without a :components section, although I don't see why you would want to do that, as the whole point is you want to be writing lip code.
13:37:12
Bubblegumdrop
however, typically, in my "empty" files I will have a line similar to: (in-package :my-demo)
13:42:49
paulapatience
Sure, you can have a defsystem which just depends-on other systems but has no code itself
15:04:19
Bubblegumdrop
chsasank were you able to get your module to build? did you follow https://github.com/clasp-developers/clasp/wiki/Building-and-Installing-from-Source ? I'm having trouble building: https://pastebin.com/FHg7ZfVt
15:06:37
chsasank
https://github.com/chsasank/chsasank.github.io/blob/ffi-tutorial/_posts/tech/2024-02-20-clasp-ffi.md
15:22:25
Bubblegumdrop
after installing libc++-17-dev I was able to clang++-17 -stdlib=libc++ test.cc on a minimal case
15:28:41
Bubblegumdrop
../include/clasp/core/foundation.h:36:10: fatal error: 'string' file not found 36 | #include <string>
15:41:23
Bubblegumdrop
../include/clasp/core/bignum.h:136:18: error: no type named 'integral' in namespace 'std'
15:48:44
Bubblegumdrop
Um, okay. I re-ran ./koga without --broken-stdlib and it seems to be going now..
15:58:32
Bubblegumdrop
chsasank ninja is pretty efficient, it should only re-compile your changed code
16:02:20
Bubblegumdrop
chsasank has done most of the heavy lifting. I was just debugging. you can ignore my messages, I've figured it out.
16:06:46
paulapatience
Bubblegumdrop: Few Lisp implementations are only interpreters. I think clisp might be one.
16:14:37
drmeister_
My first lisp program was the bclasp lisp compiler - it's mostly gone now, replaced by better compilers.
16:17:33
drmeister_
I always got a thrill when aclasp loaded and then compiled bclasp and then that compiled cclasp. The system got faster and faster and faster.
16:18:24
drmeister_
Bootstrapping is unbelievably messy, complicated, and frustrating but thrilling when it works.
16:19:09
Bubblegumdrop
After it compiled so quickly I'm not sure distributing the work would be helpful to you
16:21:10
Bubblegumdrop
I'm not certain, honestly. I wrote a bit ago about a little side project I worked on, I set up a whole build system to compile android with distcc, with a Docker image you could e.g. load up on any machine to "contribute" to the compile farm
16:21:35
Bubblegumdrop
it uses zeroconf to automagically find new peers to send work to, so you could theoretically just ... add more cores
16:21:43
drmeister_
I'm running Cando code that distributes molecular structure searches across 2,500 CPU's