Thread overview
Severin Teona - SAOC Milestone 2 Update 4 - Druntime for Microcontrollers
6 days ago
Severin Teona
7 hours ago
Severin Teona
6 days ago
Hi guys!

This is the last update for the second milestone for #SAoC2020.

My last post is at [1]. The plan for this week was the following:
- emulate a simple application that doesn't use the druntime but it is linked with it.
- emulate a more complex application that uses the druntime.

What I actually did this week is:
- as I expected, I had problems running the first application, because the size of the application wasn't small enough even on the emulator (I added more SRAM over a RESERVED memory area)
- I almost finished moving all my work on a Docker and created a testing environment for my project.
- I became familiar with the environment in which the 'ldc-build-runtime' works: how everything is compiled, what exactly is compiled, etc.
- I also began removing modules and functionalities I don't think are essential on a microcontroller and started working on the errors I encountered.

My main work from now on (including next week's work) will be focused on building the druntime with as few modules as possible. I will start from compiling just object.d and resolve the errors as they appear.

[1]: https://forum.dlang.org/post/ldqmnadjwhtjfbevcspw@forum.dlang.org
4 days ago
On Friday, 20 November 2020 at 15:50:03 UTC, Severin Teona wrote:
> Hi guys!

Hi! Glad to see progress!

Does this test passed?

https://github.com/dlang/druntime/blob/master/src/rt/lifetime.d#L2788

I ask because I have problem with it.
7 hours ago
On Sunday, 22 November 2020 at 06:08:06 UTC, Denis Feklushkin wrote:
> Hi! Glad to see progress!
>
> Does this test passed?
>
> https://github.com/dlang/druntime/blob/master/src/rt/lifetime.d#L2788
>
> I ask because I have problem with it.

Hi Denis! Thank you.

Sadly, I am not able to test anything yet. The application I am working on is just linked with the druntime, but it doesn't use anything from it.

When I get there, I will test it and let you know. Hope it won't be too late.