Re: Update to Bare Metal STM32F4 (ARM Cortex-M4) LCD Demo Proof of Concept
On Thursday, 20 July 2017 at 12:23:31 UTC, Mike wrote: A few years ago I created a bare metal demo on an ARM Cortex-M4 microcontroller entirely in D. It was just a demonstration that one could do bare metal programming for microcontrollers in D without any dependencies on C or assembly. It was also a proof of some ideas I had about leveraging compile-time features of D to generate highly-optimized code (both small and fast) for these resource constrained systems. I hit a wall, however, with Issue 14758[0], and ultimately abandoned D for other alternatives. It has a lot of potential. I always hope that someone will start a 3d Printer firmware written in D for a 32bit microcontroller.
Re: WebConfig - a vibe.d HTML form generator & validator from D structs
On Thursday, 20 July 2017 at 15:57:55 UTC, WebFreak001 wrote: [snip] At my current work I do program web pages to access a database, just in C#. Vibe.D and this would wipe the floor with our methods! Thank you!
DIP 1009--Improve Contract Usability--Preliminary Review Round 2 Begins
DIP 1009 is titled, "Improve Contract Usability". The second preliminary review round is now underway. http://forum.dlang.org/post/luhdbjnsmfomtgpyd...@forum.dlang.org As a reminder, the first preliminary review round for DIP 1011 is ongoing and has one week remaining. http://forum.dlang.org/post/topmfucguenqpucsb...@forum.dlang.org
Re: WebConfig - a vibe.d HTML form generator & validator from D structs
On Thursday, 20 July 2017 at 15:57:55 UTC, WebFreak001 wrote: I just released a vibe.d library that allows you to turn any D struct into an editable HTML5 compatible form with live JS updates but also normal no-JS updates with nearly the same experience. It basically feels like you don't need to write any boilerplate HTML code anymore but instead write D and show your D code with a fancy mask automatically to the user. Additionally it handles all the validation for you so you can be sure that anything the user couldn't type in into the HTML frontend won't be stored inside the backend struct (validation & some corrections for all HTML5 input types). I am getting OpenSSL linker errors when I run "dub test": https://gist.github.com/NVolcz/d1731f92622b018e1cebbc42b195028c
Re: WebConfig - a vibe.d HTML form generator & validator from D structs
On Thursday, 20 July 2017 at 15:57:55 UTC, WebFreak001 wrote: I just released a vibe.d library that allows you to turn any D struct into an editable HTML5 compatible form with live JS updates but also normal no-JS updates with nearly the same experience. that's very nice, thanks
Re: WebConfig - a vibe.d HTML form generator & validator from D structs
On Friday, 21 July 2017 at 15:16:30 UTC, NVolcz wrote: On Thursday, 20 July 2017 at 15:57:55 UTC, WebFreak001 wrote: [...] I am getting OpenSSL linker errors when I run "dub test": https://gist.github.com/NVolcz/d1731f92622b018e1cebbc42b195028c FYI: http://forum.dlang.org/post/ok29hs$iio$1...@digitalmars.com
Re: Boston D Meetup: Strawman Structs
On 7/2/17 6:35 AM, Steven Schveighoffer wrote: I'll have a short presentation on a weird trick I discovered while writing some MySQL serialization code. Hope you can attend! https://www.eventbrite.com/e/d-lang-presentation-strawman-structs-tickets-35120523431 I've set up a live stream for this. No guarantees of the quality, it will be audio + slideshow. Waiting for people to arrive, so probably won't start until at least 6:30. https://www.youtube.com/watch?v=ZxzczSDaobw -Steve
Re: Update to Bare Metal STM32F4 (ARM Cortex-M4) LCD Demo Proof of Concept
On Friday, 21 July 2017 at 00:27:09 UTC, Mike wrote: On Thursday, 20 July 2017 at 17:09:40 UTC, Mr.D wrote: Thanks for your work with bare metal MCUs! I am dreaming that someday I can program smart house IoT automation on D. You already can; it just may not be the most professional experience. If you have the hardware and the time, do it! Mike I am stopped by the lack of a system library for work with GPIO, PWM etc specific MCU things.
Re: Boston D Meetup: Strawman Structs
On Friday, 21 July 2017 at 21:55:01 UTC, Steven Schveighoffer wrote: On 7/2/17 6:35 AM, Steven Schveighoffer wrote: I'll have a short presentation on a weird trick I discovered while writing some MySQL serialization code. Hope you can attend! https://www.eventbrite.com/e/d-lang-presentation-strawman-structs-tickets-35120523431 I've set up a live stream for this. No guarantees of the quality, it will be audio + slideshow. Waiting for people to arrive, so probably won't start until at least 6:30. https://www.youtube.com/watch?v=ZxzczSDaobw -Steve Great talk! It seems great mids think alike, I will be using this to implement OpenCL's horrible getInfo. https://github.com/libmir/dcompute/blob/master/source/dcompute/driver/ocl120/util.d#L36 https://github.com/libmir/dcompute/blob/master/source/dcompute/driver/ocl120/device.d#L67 Regarding the inferred attribute problem with the concepts like Straw-man usage, this should not be a problem with my attributes DIP, since all special attributes become normal attributes and you could just have an AliasSeq of the required values.
Re: Update to Bare Metal STM32F4 (ARM Cortex-M4) LCD Demo Proof of Concept
On Friday, 21 July 2017 at 07:40:20 UTC, Andrea Fontana wrote: On Thursday, 20 July 2017 at 12:23:31 UTC, Mike wrote: A few years ago I created a bare metal demo on an ARM Cortex-M4 microcontroller entirely in D. It was just a demonstration that one could do bare metal programming for microcontrollers in D without any dependencies on C or assembly. It was also a proof of some ideas I had about leveraging compile-time features of D to generate highly-optimized code (both small and fast) for these resource constrained systems. I hit a wall, however, with Issue 14758[0], and ultimately abandoned D for other alternatives. It has a lot of potential. I always hope that someone will start a 3d Printer firmware written in D for a 32bit microcontroller. Can't wait to see that day