Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: What do we have to do to resuscitate micro Perl? I want Circuit Perl NOW!

by ait (Hermit)
on Aug 30, 2018 at 14:30 UTC ( #1221380=note: print w/replies, xml ) Need Help??


in reply to Re: What do we have to do to resuscitate micro Perl? I want Circuit Perl NOW!
in thread What do we have to do to resuscitate micro Perl? I want Circuit Perl NOW!

For microperl for sure, and the other issue is memory fragmentation. But right now I think that Perl 5 is a great alternative at the intermediate embedded level and that's where I'm focusing right now: for example, the Linux side of an Arduino Yłn or on a Raspberry PI. I think that is not too much work to create some light weight packages that are targeted to these architectures and to help maintain some of the existing Perl distributions on those platforms (e.g. the perlbase packages on OpenWRT).

I think that to revive attention on Perl and gain some traction, is to provide simple solutions for hacking in the Maker's ecosystems. We found for example, that if you want to hack a simple microservice on OpenWRT you'd have to spend a lot of time studying Luci and learning LUA, or use Node.js perhaps. But both these approaches require a steep learning curve, are resource hungry, and mostly overkill for the Maker's mentality. People on these platforms want simple and light weight stuff with very few dependencies. I think that Perl 5 can fill this gap so this single file HTTP server was our first step in this direction. I think we may publish on the CPAN and perlbase packages on OpenWRT. We will also spend some time porting Mojolicious to OpenWRT for those Makers that outgrow our one script server.

Think about why Arduino is so popular? It's because it's easy, fun and simple to work with and experience in minutes. These are the same attributes that made Perl popular on the Web to begin with.

But in the Arduino Yłn for example, all your are left with on the Linux side is Python and LUA. I think that we have a good chance of reviving interest in Perl for the Yłn crowd and the larger OpenWRT ecosystem first, and then take it from there into more and more Maker spaces.

  • Comment on Re^2: What do we have to do to resuscitate micro Perl? I want Circuit Perl NOW!

Replies are listed 'Best First'.
Re^3: What do we have to do to resuscitate micro Perl? I want Circuit Perl NOW!
by TheloniusMonk (Sexton) on Aug 30, 2018 at 14:42 UTC
    You'd need to package a memory manager for the fragmented memory issue. But any embedded system has to have memory management delivered with it - it needs in fact a dedicated super-simple ultra-lite OS packaged in. An embedded distro is self-contained for empty hardware as if straight off the presses.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1221380]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (10)
As of 2019-11-18 13:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (90 votes). Check out past polls.

    Notices?