Live data from Hacker News

Campher: Perl embedded in Go

github.com

1–10 of 10 posts

Re: Campher: Perl embedded in Go

#4
post #2

This is one of the most awesome thing's I've ever seen. I guess it would be a bad idea to use it for production code... Too bad though.

Am I missing something?

My C days was a long time ago, but this looks like simple and elegant stuff to me. What would be the problem with production code? The Go language?

Re: Campher: Perl embedded in Go

#6
post #4
post #2

This is one of the most awesome thing's I've ever seen. I guess it would be a bad idea to use it for production code... Too bad though.

Am I missing something? My C days was a long time ago, but this looks like simple and elegant stuff to me. What would be the problem with production code? The Go language?

I think it might have a bug or two yet. Perl is reference counted and Go is garbage collected. Keeping those two synchronized was a bit tricky and I still fear I messed it up somewhere... I need to re-read the Perl docs on when I'm supposed to up & down the Perl refcounts.

Re: Campher: Perl embedded in Go

#7
post #6
post #4

Earlier quoted context omitted.

Am I missing something? My C days was a long time ago, but this looks like simple and elegant stuff to me. What would be the problem with production code? The Go language?

I think it might have a bug or two yet. Perl is reference counted and Go is garbage collected. Keeping those two synchronized was a bit tricky and I still fear I messed it up somewhere... I need to re-read the Perl docs on when I'm supposed to up & down the Perl refcounts.

There's no better way to find the bugs than to use the code in production ;-)

It was a great talk, BTW.

Re: Campher: Perl embedded in Go

#9
post #4
post #2

This is one of the most awesome thing's I've ever seen. I guess it would be a bad idea to use it for production code... Too bad though.

Am I missing something? My C days was a long time ago, but this looks like simple and elegant stuff to me. What would be the problem with production code? The Go language?

Perl's behind the scenes C code is rather gnarly. Trusting a new tool to get it right the first time is a bit much. Once I'm comfortable it's had some time to age properly, I'd be more than willing to deploy it.