Search
Saturday, 19th of January 2019, 7:21:20 UTC
15:18:15
ebrasca
I like to program vulkan , can I do it with ecl?
15:30:42
ebrasca
pjb: Do you have some place to start learning ecl to work with c++?
15:31:27
pjb
In the documentation, IIRC, there's some indication on how to compile ecl with g++ instead of gcc.
15:32:11
ebrasca
Do you mean this https://common-lisp.net/project/ecl/ ?
15:32:12
pjb
Once ecl is compiled in C++, it will be compatible with C++ (c-inline, etc).
15:32:34
pjb
https://common-lisp.net/project/ecl/static/manual/
15:32:41
pjb
https://common-lisp.net/project/ecl/static/manual/ch01.html#idm45432029123776
15:33:45
ebrasca
Is it hard to program in cl and c++ together?
15:35:53
ebrasca
Now with cl I am thinking ecl.
15:38:28
ebrasca
Probably I need to learn how ecl c++ and slime work together.
16:24:00
ebrasca
pjb: After reading it is not scary.
16:24:03
pjb
In ecl, you can insert C/C++ code, using the c-line macro.
16:24:20
pjb
Since the ecl compiler generate C/C++ code, you can insert your own C/C++ with this macro.
16:24:39
pjb
So this allow you to integrate very well with C/C++.
16:27:28
ebrasca
I have this c++ example code I like to use with ecl. https://vulkan-tutorial.com/code/20_index_buffer.cpp
16:29:30
ebrasca
mmm someting like (c-line main) ?
16:30:41
pjb
(c-line "main();") I would say.
16:32:00
pjb
Perhaps you should rename it, however, since ecl already has its own main function.
16:32:11
ebrasca
Probably i am going to have fun with friends programing c++ , cl with vulkan.
16:36:20
ebrasca
Why in "Development environment configuration" it proposes Linux + SBCL + Emacs + Quicklisp + SLIME setup ?
16:45:29
pjb
Also, CL implementations are not mutually exclusive. Thanks to the notion of conformity.
16:46:39
pjb
For example, my in development environment I use currently ccl and darwin (macOS), but delivery would involve ecl (on "embedded" systems), or sbcl (for web servers), etc.
16:46:57
pjb
moCL or ecl for Android, moCL for iOS, etc.
16:52:42
ebrasca
Running "make" in ecl/examples/ecl_qt give me "There is no package with the name ASDF.."
16:53:01
ebrasca
I have quicklisp working in ecl
16:54:27
ebrasca
Maybe you can't share quicklisp for sbcl and ecl.
16:58:55
ebrasca
Condition of type: STACK-OVERFLOW C-STACK overflow at size 1048576. Stack can probably be resized. Proceed with caution.
16:59:51
ebrasca
It is from (quicklisp-quickstart:install)
Saturday, 19th of January 2019, 19:21:20 UTC