7 ms·
Golang Interpreter Written in PHP
- dominick-cc 2y agofinally
- nasretdinov 2y agoI mean, Go is now finally suitable for web development with hot code reload?
- laidoffamazon 2y agoThis is an amusing companion to the PHP interpreter written in go (by Mark Karpeles of MtGox infamy) https://github.com/MagicalTux/goro https://github.com/MagicalTux/goro
- mcpherrinm 2y agoI wonder how keep you can stack them before things start to break down
- AdamJacobMuller 2y agoThis seems actually useful since it's really doing transpiling!
- mappu 2y agoI made some progress on a similar transpiler some years ago https://git.ivysaur.me/code.ivysaur.me/php2go https://git.ivysaur.me/code.ivysaur.me/php2go but never really finished. I still have the use case. Do you know if there's any production quality transpiler? Today you would probably involve an LLM somehow, but it's hard to trust the result.
- surfingdino 2y agoAh, PHP! The grumpy old git of the programming languages (see also Jeremy Corbin and Bernie Sanders) /s
- ndegruchy 2y agoI wonder if you can run this in FrankenPHP.
- bubblesnort 2y agoI wonder if you can run FrankenPHP in this.
- antonvs 2y agoEach day we stray further from god's light
- mattigames 2y agoGod's light is overrated.
- Nevermark 2y ago1Ø GOTO DARKMODE
- deleted 2y ago[deleted]
- minkles 2y agolocating spoons to scoop own eyes out with Edit: this project is the sort of thing I'd do if I had the time to :)
- deleted 2y ago[deleted]
- personalityson 2y ago[flagged]
- SamInTheShell 2y ago[flagged]
- philipwhiuk 2y agoOnline Go code checker?
- shaftoe444 2y agoIf we could bring in awk somehow...
- Flop7331 2y agoAnd then make it run Doom.
- deleted 2y ago[deleted]
- AdamJacobMuller 2y agoAs someone who knows both languages intimately (written more code in both of those languages than any others), I can't think of any two (non-toy) languages which are more diametrically opposed. This is deeply cursed and I love it.
- mannyv 2y agoThe next project should be writing a Golang interpreter in JavaScript!
- amelius 2y agoI vote for a JVM written in Perl.
- varispeed 2y agoI vote for Delphi interpreter in 286 assembly.
- prasoonds 2y agoHorrors beyond comprehension.
- mhd 2y agohttps://github.com/claesjac/pjvm https://github.com/claesjac/pjvm
- kalekold 2y agolol
- fuzztester 2y agoHaskell in binary code, but by toggling those switches on the front panel of the machine.
- HappMacDonald 2y agoWe need Erlang's BEAM interpreter done up in AWK
- remoquete 2y agoThis is the kind of "why not" projects that one could use Copilot for! Sorry, I'm heading to my workstation to ask Copilot to help me build a new JVM language using ancient Greek reserved words.
- Flop7331 2y agoI've always wanted a Spanish DB query language. SQL is very boring. It needs some pizazz and somewhat more lyrical language than what we have.
- kolme 2y agoSELECCIONA * DE CLIENTES CUANDO TELÉFONO SEA NULO
- yas_hmaheshwari 2y agoI thought "the right way" was to do everything in Rust :-)
- kaycey2022 2y agoThe age of Rust is over. The time of “rewrite everything in php” has arrived.
- uncanneyvalley 2y agoWhat is dead may never die!
- ptdorf 2y ago_ ThePrimeagen entered the chat_
- rizky05 2y ago[dead]
- wavemode 2y agoMy brain read the title as "PHP interpreter written in Go" - I assume because such a thing -wouldn't- be an abomination...
- withinboredom 2y agoCan you compile frankenphp to run php?
- rzz3 2y agoI have never simultaneously seen something both so amazing and so horrible :) No but really, this is impressive.
- frank_bb 2y ago[dead]
- tombert 2y agoYour scientists were so preoccupied with whether or not they could, they didn't stop to think if they should. This is awesome.
- slashdave 2y ago> This is a toy project, not intended for production use. Well, darn.
- xyst 2y agoWon’t stop LLMs
- xyst 2y agoThis is one of those “your scientists were preoccupied with whether they could, they didn’t stop to think whether they should” type projects. This is something you add to a project to obscure some sploit.
- KingOfCoders 2y agoMy dream for Go, interpreted for fast reloads without compile for web development like e.g. PHP. Then compile for testing/unit testing/deployment.
- itohihiyt 2y agoYou might have just described dart/flutter.
- materielle 2y agoIs there anything technical preventing Go from being like this? Besides the fact that nobody has put in the hard work to make it happen? Not a leading question, I’m curious if there are any technical complications with fast-reload Go.
- itohihiyt 2y agoI've no idea, I just know dart has a built in JIT and AOT complier, and hot reload is, for me, a killer feature.
- KingOfCoders 2y agoI'm an old man and the simplicity of Go is for me.
- GaryNumanVevo 2y agoIf you think Go is simple, I don't think you've done much with the language
- KingOfCoders 2y agoPerhaps, but after 40+ years of coding I have seen many more complicated languages. But I did love https://100go.co/ https://100go.co/
- DannyBee 2y agoSome people just want to watch the world burn
- JoosToopit 2y agoBut there is frankenPHP [1] already. And it's not just an interpreter, it's a complete app server with Caddy web server underneath. [1] - https://frankenphp.dev https://frankenphp.dev
- metadat 2y agoThis is the opposite - Franken is PHP in Go. This one is Go in PHP.
- JoosToopit 2y agoBut that doesn't even make any s... Oh, I misread the title then.
- metadat 2y agoNo worries, I got you :). Cheers and cya round