Re: D officially supported on Apache NuttX RTOS

2024-06-10 Thread Matheus Catarino via Digitalmars-d-announce

On Monday, 10 June 2024 at 14:59:53 UTC, Denis Feklushkin wrote:


Official esp32 software environment (ESP IDF) internally uses 
FreeRTOS. Thus, if you write hello_world_LED_blink snippet and 
compile it by ESP IDF your binary will contain FreeRTOS


Exactly! However, NuttX can replace ESP-IDF if desired. Espressif 
itself approves and provides an HAL for this access. (Same goes 
for Zephyr)


https://github.com/espressif/esp-hal-3rdparty


D officially supported on Apache NuttX RTOS

2024-06-07 Thread Matheus Catarino via Digitalmars-d-announce

ref.: https://x.com/MisterTechBlog/status/1798918878350950840

**Note:** Currently, ldc2 compiler only for 
riscv/arm/sim[ulator]. gdc and dmd need PR!


**Preview - qemu-armv7a:nsh**

```bash
$ qemu-system-arm -cpu cortex-a7 -nographic -M 
virt,virtualization=off,gic-version=2 -net none -chardev 
stdio,id=con,mux=on -serial chardev:con -mon 
chardev=con,mode=readline -kernel nuttx

psci_detect: Detected PSCI v1.1
nx_start: Entry
uart_register: Registering /dev/console
uart_register: Registering /dev/ttyS1
work_start_highpri: Starting high-priority kernel worker thread(s)
nxtask_activate: hpwork pid=1,TCB=0x4013b2d8
nx_start_application: Starting init thread
task_spawn: name=nsh_main entry=0x4010b18c file_actions=0 
attr=0x4013afbc argv=0x4013afb8

nxtask_activate: nsh_main pid=2,TCB=0x4013c690
lib_cxx_initialize: _sinit: 0x4012c000 _einit: 0x4012c000

NuttShell (NSH) NuttX-12.5.1
nsh> nx_start: CPU0: Beginning Idle Loop
nsh> hello_d
task_spawn: name=hello_d entry=0x4011e824 file_actions=0x4013d8e4 
attr=0x4013d8ec argv=0x4013d980

spawn_execattrs: Setting policy=2 priority=100 for pid=3
nxtask_activate: hello_d pid=3,TCB=0x4013dd80
Hello World, [cortex-a7]!
hello_d_main: Saying hello from the dynamically constructed 
instance

DHelloWorld.HelloWorld: CONSTRUCTION FAILED!
hello_d_main: Saying hello from the instance constructed on the 
stack

DHelloWorld.HelloWorld: Hello, World!!
nxtask_exit: hello_d pid=3,TCB=0x4013dd80
```


Re: Fluid 0.6.0 — UI library for D

2024-01-25 Thread Matheus Catarino via Digitalmars-d-announce

On Thursday, 25 January 2024 at 12:33:31 UTC, cookiewitch wrote:
Fluid is a library I started developing 3 years ago when I 
joined the D community, after failing to find a suitable 
library for my gamedev project. Developing user interfaces 
through websites, games or applications is something I've spent 
a significant amount of time in the past, so I saw this as an 
opportunity for developing a solution that combines the best 
aspects of different frameworks I have previously used, whereas 
targeted at web browsers, mobile applications, games or 
desktop. Similarly to how many praise D for being both great 
for prototyping and amazingly scalable, I found that I would 
love to build something that shares both of those traits.


[...]


Wow. Congrats on your project, it looks interesting and visually 
modern.