Re: All Community Discord channels are now being bridged to Matrix

2022-01-16 Thread bauss via Digitalmars-d-announce

On Sunday, 16 January 2022 at 01:02:22 UTC, Ali Çehreli wrote:

On 1/15/22 16:53, Paul Backus wrote:


there is a Matrix client for emacs:


I am not surprised at all. :)

Matrix sounds very promising:

  https://matrix.org/

Ali


Everything literally exist for emacs


Re: styx, a programming languange written in D, is on the bootstrap path

2022-01-16 Thread Brian Callahan via Digitalmars-d-announce

On Sunday, 16 January 2022 at 19:40:33 UTC, Basile B. wrote:
On Sunday, 16 January 2022 at 18:53:45 UTC, Brian Callahan 
wrote:
I was able to make a quick port to OpenBSD; works fine there 
too. Thanks for your work on this!


~Brian


holly s**t ! I'm a bit surprised that it works, especially 
because of the way linking is done.


That's the only thing the port needs. You just have to teach the 
styx compiler how to link things on OpenBSD. It's incredibly 
straightforward :)


~Brian


Re: styx, a programming languange written in D, is on the bootstrap path

2022-01-16 Thread Basile B. via Digitalmars-d-announce

On Sunday, 16 January 2022 at 18:53:45 UTC, Brian Callahan wrote:
I was able to make a quick port to OpenBSD; works fine there 
too. Thanks for your work on this!


~Brian


holly s**t ! I'm a bit surprised that it works, especially 
because of the way linking is done.


Re: styx, a programming languange written in D, is on the bootstrap path

2022-01-16 Thread Brian Callahan via Digitalmars-d-announce

On Sunday, 16 January 2022 at 17:09:07 UTC, Basile B. wrote:
On Friday, 15 January 2021 at 09:54:59 UTC, Ola Fosheim Grøstad 
wrote:

On Thursday, 14 January 2021 at 17:51:51 UTC, Basile B. wrote:
This is the last[1] occasion to speak about a programming 
language initiatly made in D, as the bootstrap phase is very 
near.


Interesting project! How did you move from D to Styx? (I 
assume bootstrapping means a self hosting compiler?) Did you 
write some scripts to translate?


It turns out that finally everything was translated manually. 
This was a bit painful but also an opportunity to review older 
parts and to change a details that otherwise would not have 
been done.


Interesting language. I was able to make a quick port to OpenBSD; 
works fine there too. Thanks for your work on this!


~Brian


Re: styx, a programming languange written in D, is on the bootstrap path

2022-01-16 Thread Basile B. via Digitalmars-d-announce

On Monday, 18 January 2021 at 18:03:12 UTC, IGotD- wrote:

On Thursday, 14 January 2021 at 17:51:51 UTC, Basile B. wrote:
This is the last[1] occasion to speak about a programming 
language initiatly made in D, as the bootstrap phase is very 
near.


I'd like to thank the D compiler developers, that let me work 
on DMD even if I borrow another path.


[1] : https://gitlab.com/styx-lang/styx


Interesting project.

A few questions.

I see that you use "var auto name" in order to automatically 
infer the type. Would it be possible just using "var name" for 
that, similar to other popular languages.


There is currently no information about memory management, is 
this something you have an idea how to design right now?


It has a memory management system very comparable to older Delphi 
(<= 2007)  or current FreePascal. So dynamic arrays are reference 
counted and automatically managed when used a local var.


Classes and structures are manually managed but the dtor is 
automatically called when the instance is a local.


This system is proven to work as the compiler itself is now 
rewritten in styx.
(example, the valgrind report after running the compiler with the 
equivalent of D "-unittest" CLI option : 
https://gitlab.com/styx-lang/styx/-/jobs/1980055910#L110.


To be honest I already knew it will work before implementing ref 
counting. This has been used for something like 30 years by 
hundreds and hundreds of programmers.


Re: styx, a programming languange written in D, is on the bootstrap path

2022-01-16 Thread Basile B. via Digitalmars-d-announce
On Friday, 15 January 2021 at 09:54:59 UTC, Ola Fosheim Grøstad 
wrote:

On Thursday, 14 January 2021 at 17:51:51 UTC, Basile B. wrote:
This is the last[1] occasion to speak about a programming 
language initiatly made in D, as the bootstrap phase is very 
near.


Interesting project! How did you move from D to Styx? (I assume 
bootstrapping means a self hosting compiler?) Did you write 
some scripts to translate?


It turns out that finally everything was translated manually. 
This was a bit painful but also an opportunity to review older 
parts and to change a details that otherwise would not have been 
done.


Re: All Community Discord channels are now being bridged to Matrix

2022-01-16 Thread bachmeier via Digitalmars-d-announce

On Sunday, 16 January 2022 at 01:02:22 UTC, Ali Çehreli wrote:

On 1/15/22 16:53, Paul Backus wrote:


there is a Matrix client for emacs:


I am not surprised at all. :)

Matrix sounds very promising:

  https://matrix.org/

Ali


Now all we need is a Matrix client written in D.