7 ms·
It's not very discoverable but there are sister sites for Rust, Go and D: https://rust.godbolt.org/ https://rust.godbolt.org/ https://go.godbolt.org/ https://g
by mattgodbolt 10y ago
It's not very discoverable but there are sister sites for Rust, Go and D:
https://rust.godbolt.org/ https://rust.godbolt.org/
https://go.godbolt.org/ https://go.godbolt.org/
https://d.godbolt.org/ https://d.godbolt.org/
- eloff 10y agoNice, I wasn't aware of those! BTW, the Go one looks broken on the example when using 6g (gccgo seems to work.)
- mattgodbolt 10y agoThanks; I'll take a look (feel free to file bugs on github https://github.com/mattgodbolt/gcc-explorer/issues https://github.com/mattgodbolt/gcc-explorer/issues too)
- adamnemecek 10y agoare you planning one for swift?
- deleted 10y ago[deleted]
- pjmlp 10y agoIBM already provides one. https://swiftlang.ng.bluemix.net/?cm_mmc=developerWorks-_-dWdevcenter-_-swift-_-lp&cm_mc_uid=86948701270814292766071&cm_mc_sid_50200000=1462951841#/repl https://swiftlang.ng.bluemix.net/?cm_mmc=developerWorks-_-dW... They are investing into it. https://developer.ibm.com/swift/ https://developer.ibm.com/swift/ I am expecting a Swift EE any day. :)
- adamnemecek 10y agothat seems to be running the code, i'm interested in something showing assembly. i realize that i can run the commands myself but the gcc explorer is very interactive which i like.
- pjmlp 10y agoWell they are taking survey input about it, you can provide that as feedback.
- alblue 10y agoI created SILInspector to do some demos for a presentation: https://github.com/alblue/SILInspector https://github.com/alblue/SILInspector You can switch between the various stages of the Swift compiler including assembly. I did a talk for Swift London recently which was recoded: should be at https://m.youtube.com/channel/UC5ypB3f_gdQm2qJ4gmjYkJg https://m.youtube.com/channel/UC5ypB3f_gdQm2qJ4gmjYkJg at some point.
- alblue 10y agoThe video of SILInspector (and background on SIL) is at https://m.youtube.com/watch?v=NH-qIKOoKgA https://m.youtube.com/watch?v=NH-qIKOoKgA
- adamnemecek 10y agoThis looks dank
- mattgodbolt 10y agoNot currently; I'd happily accept patches though! :)
- bjz_ 10y agothe rust compiler is out of date :(
- masklinn 10y agoNot by much, it lacks 1.8 and the beta compiler is 1.7b4 but that's about it.
- deleted 10y ago[deleted]
- dom96 10y agoThese are really nice! Have you considered creating a sister site for Nim?
- mattgodbolt 10y agoSo far I've limited myself to compilers etc that model very closely on GCC; i.e. very similar compile options etc. I'd happily accept patches though...
- restalis 10y agoHmm.. For D it's https://d.godbolt.org/ https://d.godbolt.org/ but for C (not limited to gcc) it's https://gcc.godbolt.org/ https://gcc.godbolt.org/ ?
- mattgodbolt 10y agoYeah...It started out as GCC only but then I added clang, and ICC and... naming is hard!
- restalis 10y agoYou can make an alias and redirect the gcc prefix to that one with c.
- deleted 10y ago[deleted]
- stirner 10y agoFWIW, the Rust Playground [1] also has support for viewing assembly, along with intermediate representations. [1] https://play.rust-lang.org https://play.rust-lang.org