Re: LWDR (Light Weight D Runtime) for Microcontrollers v0.2.3

2021-05-31 Thread Dylan Graham via Digitalmars-d-announce
On Monday, 31 May 2021 at 15:41:12 UTC, Imperatorn wrote: On Sunday, 30 May 2021 at 14:28:25 UTC, Dylan Graham wrote: Github: https://github.com/0dyl/LWDR DUB: https://code.dlang.org/packages/lwdr [...] Well done sir! Keep it up ☀️ Thank you :)

Re: LWDR (Light Weight D Runtime) for Microcontrollers v0.2.3

2021-05-31 Thread Dylan Graham via Digitalmars-d-announce
On Monday, 31 May 2021 at 11:16:01 UTC, Iain Buclaw wrote: Good to see this work come to fruition. First thing I stumbled across was a [mispelling](https://github.com/0dyl/LWDR/blob/eb5de110ba2cff4bd0e654e8a68b59fc5eb76157/source/rtoslink.d#L14) of one of the RTOS hooks. I'll get on it!

Re: LWDR (Light Weight D Runtime) for Microcontrollers v0.2.3

2021-05-31 Thread Dylan Graham via Digitalmars-d-announce
On Monday, 31 May 2021 at 01:16:46 UTC, rikki cattermole wrote: On 31/05/2021 1:05 PM, Dylan Graham wrote: I haven't put any thought into the license. Since LWDR is derived from DRuntime, I assume I'll have to use its license. If not, I'd like to go with something permissive like MIT. Boost

Re: LWDR (Light Weight D Runtime) for Microcontrollers v0.2.3

2021-05-31 Thread Imperatorn via Digitalmars-d-announce
On Sunday, 30 May 2021 at 14:28:25 UTC, Dylan Graham wrote: Github: https://github.com/0dyl/LWDR DUB: https://code.dlang.org/packages/lwdr [...] Well done sir! Keep it up ☀️

Re: LWDR (Light Weight D Runtime) for Microcontrollers v0.2.3

2021-05-31 Thread Iain Buclaw via Digitalmars-d-announce
On Monday, 31 May 2021 at 01:05:03 UTC, Dylan Graham wrote: On Sunday, 30 May 2021 at 17:31:37 UTC, Dukc wrote: On Sunday, 30 May 2021 at 14:28:25 UTC, Dylan Graham wrote: It works by providing a series of barebones API hooks (alloc, dealloc, assert, etc) (defined in `rtoslink.d`), which you

Re: LWDR (Light Weight D Runtime) for Microcontrollers v0.2.3

2021-05-30 Thread rikki cattermole via Digitalmars-d-announce
On 31/05/2021 1:05 PM, Dylan Graham wrote: I haven't put any thought into the license. Since LWDR is derived from DRuntime, I assume I'll have to use its license. If not, I'd like to go with something permissive like MIT. Boost is permissive.

Re: LWDR (Light Weight D Runtime) for Microcontrollers v0.2.3

2021-05-30 Thread Dylan Graham via Digitalmars-d-announce
On Sunday, 30 May 2021 at 14:28:25 UTC, Dylan Graham wrote: Github: https://github.com/0dyl/LWDR DUB: https://code.dlang.org/packages/lwdr As for my next steps, I'm going to look at implementing TLS variables. It doesn't look too difficult.

Re: LWDR (Light Weight D Runtime) for Microcontrollers v0.2.3

2021-05-30 Thread Dylan Graham via Digitalmars-d-announce
On Sunday, 30 May 2021 at 17:31:37 UTC, Dukc wrote: On Sunday, 30 May 2021 at 14:28:25 UTC, Dylan Graham wrote: Hi, all! This is LWDR (Light Weight D Runtime) It is a ground-up implementation of a D runtime targeting the ARM Cortex-M microcontrollers and other microcontroller platforms with

Re: LWDR (Light Weight D Runtime) for Microcontrollers v0.2.3

2021-05-30 Thread Dylan Graham via Digitalmars-d-announce
On Sunday, 30 May 2021 at 15:35:34 UTC, Guillaume Piolat wrote: On Sunday, 30 May 2021 at 14:28:25 UTC, Dylan Graham wrote: LWDR currently supports the following language features: - Class allocations and deallocations (via new and delete) - Struct heap allocations and deallocations (via new

Re: LWDR (Light Weight D Runtime) for Microcontrollers v0.2.3

2021-05-30 Thread Dylan Graham via Digitalmars-d-announce
On Sunday, 30 May 2021 at 15:07:54 UTC, Denis Feklushkin wrote: Nice job! Are you tried compile apps with Phobos? Thank you! No, I haven't tried any of Phobos yet. It should work, but will leak like a sieve. I need to develop a solution that tracks memory allocations and exposes a

Re: LWDR (Light Weight D Runtime) for Microcontrollers v0.2.3

2021-05-30 Thread Dukc via Digitalmars-d-announce
On Sunday, 30 May 2021 at 14:28:25 UTC, Dylan Graham wrote: Hi, all! This is LWDR (Light Weight D Runtime) It is a ground-up implementation of a D runtime targeting the ARM Cortex-M microcontrollers and other microcontroller platforms with RTOSes (Real Time Operating Systems). Sounds very

Re: LWDR (Light Weight D Runtime) for Microcontrollers v0.2.3

2021-05-30 Thread Paulo Pinto via Digitalmars-d-announce
On Sunday, 30 May 2021 at 14:28:25 UTC, Dylan Graham wrote: Github: https://github.com/0dyl/LWDR DUB: https://code.dlang.org/packages/lwdr Hi, all! This is LWDR (Light Weight D Runtime) It is a ground-up implementation of a D runtime targeting the ARM Cortex-M microcontrollers and other

Re: LWDR (Light Weight D Runtime) for Microcontrollers v0.2.3

2021-05-30 Thread Guillaume Piolat via Digitalmars-d-announce
On Sunday, 30 May 2021 at 14:28:25 UTC, Dylan Graham wrote: LWDR currently supports the following language features: - Class allocations and deallocations (via new and delete) - Struct heap allocations and deallocations (via new and delete) - Invariants - Asserts - Contract programming - Basic

Re: LWDR (Light Weight D Runtime) for Microcontrollers v0.2.3

2021-05-30 Thread Denis Feklushkin via Digitalmars-d-announce
Nice job! Are you tried compile apps with Phobos?

Re: LWDR (Light Weight D Runtime) for Microcontrollers v0.2.3

2021-05-30 Thread Dylan Graham via Digitalmars-d-announce
On Sunday, 30 May 2021 at 14:28:25 UTC, Dylan Graham wrote: Github: https://github.com/0dyl/LWDR DUB: https://code.dlang.org/packages/lwdr I added a Wiki tutorial on compiling with LDC and DUB (which is how I currently test LWDR). It's about 12:53 AM AEST, so I'm heading to bed. I plan on