Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mattgodbolt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
151.
▲
by
mattgodbolt
13y ago
I'm not quite sure what you were expecting to happen - here the template just recurses, but as a run-time recursion. GCC and the explorer handle it just fine. Doing the more usual template<N-1> trick lets you hit the -ftemplate-
152.
▲
by
mattgodbolt
13y ago
I've done my best to protect against these too with both babysitting process timeouts and as a last line of defense, ulimit "limits". Thanks for sharing those utterly evil examples though! :D
153.
▲
by
mattgodbolt
13y ago
I haven't considered that: porting the variety of compilers to Javascript is a bit tricky. Plus the closed-source Intel compiler wouldn't be an option. It's an interesting thought though!
154.
▲
by
mattgodbolt
13y ago
You're not the only one! I've had to put a variety of "anti-hacker" features into the public instance, even though it runs on a (somewhat) throwaway EC2 instance. Check out the source, and the LDPRELOAD stuff I do to try
155.
▲
by
mattgodbolt
13y ago
Agreed! It's on the backlog of TODOs! Patches welcome, of course :)
156.
▲
by
mattgodbolt
13y ago
Hi! I'm the developer of GCC Explorer and ... sorry for the slow service! This is the second time I've made it on HN - thanks for all your support. GCC Explorer runs on an Amazon EC2 instance and my "secondary" instanc
157.
▲
JavaScript BBC Micro Emulator
(bbc.godbolt.org)
5 points
by
mattgodbolt
13y ago
|
0 comments