News for hackers. Stuff that matters.
Re:PH7 – An Embedded Implementation of PHP (C Library) by zalthor on Wednesday February 19, 2014 @12:16PM (#7264658)
Curious, what do people who work with embedded systems usually use to get a web interface for their device? Routers, for as long as I can remember have had a web UI though I'm not really sure what sort of a back end runs it.
Re:PH7 – An Embedded Implementation of PHP (C Library) by weland on Wednesday February 19, 2014 @01:59PM (#7265401)
Lua is pretty widely used. C is also favoured but it's pretty easy to misuse so there are teams that shy away from it. I've seen Perl, Python and PHP, too, as well as some obscure languages. I distinctly remember seeing Tcl, but I don't remember the context so I might be bullshitting here.

It greatly depends on flash and RAM though. Past a certain point, Python or PHP are just too large.

Re:PH7 – An Embedded Implementation of PHP (C Library) by up-n-atom on Wednesday February 19, 2014 @01:57PM (#7265381)
Re:PH7 – An Embedded Implementation of PHP (C Library) by edsiper2 on Wednesday February 19, 2014 @08:11PM (#7268068)
i would be interested into your evaluation of Duda I/O, let me know your comments.
Re:PH7 – An Embedded Implementation of PHP (C Library) by nifoc on Wednesday February 19, 2014 @12:24PM (#7264725)
The UI (and maybe other parts?) of AVM routers ("FritzBox") is written in Lua.
Re:PH7 – An Embedded Implementation of PHP (C Library) by captainmuon on Wednesday February 19, 2014 @01:00PM (#7264977)
My router from D-Link uses php (at least it has php in the URLs). I've seen some that use custom C programs with a webserver (cgi-bin) too.
Re:PH7 – An Embedded Implementation of PHP (C Library) by z92 on Wednesday February 19, 2014 @12:53PM (#7264928)
Almost everyone use Lua.