www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - Vibe.d on Raspberry Pi

reply Pander <freschiandrea86 gmail.com> writes:
Hello, I've written a short tutorial on how to write a D Vibe.d 
web application targeting the raspberry Pi.
I'm a newcomer to the D community so any suggestion is really 
appreciated.

Tutorial at https://github.com/pander86/raspberry_vibed

Bye,
Andrea
Nov 05 2018
next sibling parent kinke <noone nowhere.com> writes:
On Monday, 5 November 2018 at 08:15:44 UTC, Pander wrote:
 Hello, I've written a short tutorial on how to write a D Vibe.d 
 web application targeting the raspberry Pi.
 I'm a newcomer to the D community so any suggestion is really 
 appreciated.

 Tutorial at https://github.com/pander86/raspberry_vibed

 Bye,
 Andrea
Thx. Just some notes: * 'A tutorial to build a vibed web application on raspberryPi' - it's actually *for* a Pi, as it's cross-built on an x86_64 host. * Building *on* a Pi should be possible with the prebuilt armhf LDC package, although I don't know if it has enough RAM to be really usable. * Cross-compiling druntime/Phobos can be skipped by simply using the prebuilt libs from the armhf package. * Similarly, it may be easier to install other dependencies directly on the Pi and then copy the libs to the cross-compiling host.
Nov 05 2018
prev sibling parent reply David J Kordsmeier <dkords gmail.com> writes:
On Monday, 5 November 2018 at 08:15:44 UTC, Pander wrote:
 Hello, I've written a short tutorial on how to write a D Vibe.d 
 web application targeting the raspberry Pi.
 I'm a newcomer to the D community so any suggestion is really 
 appreciated.

 Tutorial at https://github.com/pander86/raspberry_vibed

 Bye,
 Andrea
Excellent work and thank you for publishing this. I'd suggest also to post an accompanying blog post if possible (Medium or wherever you like to blog) as this helps spread the word a bit about D and also use of D for embedded systems programming. I also like that you have used ArchLinux ARM. I'm going to put out an open call for help to find someone willing to take on the task of an ldc2 package for ArchLinux. If the package makes it into AUR even as a community package, Kevin from ArchLinux ARM will pull it into the AUR packages for ARM targets, and I can usually twist his arm if there's something special needed for a particular platform. I've written up an issue to track on behalf of our local Dlang meetup: https://github.com/truedat101/dlang-sv-community/issues/57 .
Nov 06 2018
parent Joakim <dlang joakim.fea.st> writes:
On Tuesday, 6 November 2018 at 23:57:00 UTC, David J Kordsmeier 
wrote:
 On Monday, 5 November 2018 at 08:15:44 UTC, Pander wrote:
 Hello, I've written a short tutorial on how to write a D 
 Vibe.d web application targeting the raspberry Pi.
 I'm a newcomer to the D community so any suggestion is really 
 appreciated.

 Tutorial at https://github.com/pander86/raspberry_vibed

 Bye,
 Andrea
Excellent work and thank you for publishing this. I'd suggest also to post an accompanying blog post if possible (Medium or wherever you like to blog) as this helps spread the word a bit about D and also use of D for embedded systems programming. I also like that you have used ArchLinux ARM. I'm going to put out an open call for help to find someone willing to take on the task of an ldc2 package for ArchLinux. If the package makes it into AUR even as a community package, Kevin from ArchLinux ARM will pull it into the AUR packages for ARM targets, and I can usually twist his arm if there's something special needed for a particular platform.
It's been in there for awhile: https://www.archlinux.org/packages/community/x86_64/ldc/ Seems to be regularly updated: https://git.archlinux.org/svntogit/community.git/log/trunk?h=packages/ldc
Nov 06 2018