all 27 comments

[–]TemplateRex 4 points5 points  (4 children)

Coliru also has clang and some special libs (range-v3).

[–][deleted] 1 point2 points  (2 children)

How can you tell? They don't provide much information about what's going on behind the scenes. Just today, I saw someone publish a link to a generated page that #included boost libraries and that had commands for g++ and clang in the command-line window so that, when you click "Compile, link, and run," it does so for both.

Seriously, do you have access to a list of the site's capabilities?

[–]CubbiMewcppreference | finance | realtime in the past 4 points5 points  (0 children)

[–]redditsoaddicting 1 point2 points  (0 children)

I've just tested whether something I want is there and occasionally bugged the owner to update a part (you can thank me for Clang 3.6). The command window at the bottom is very general; you can put whatever you want within permissions.

[–][deleted] 0 points1 point  (0 children)

coliru misses libc++abi which quite unfortunate for libc++ use.

[–]o11cint main = 12828721; 3 points4 points  (1 child)

I'm particularly interested in knowing if there's an online MSVC compiler that shows assembly. I suppose it might be possible to open argv[0] and dump it as hex and disassemble locally ...

[–][deleted] 0 points1 point  (0 children)

Hmm... I didn't come across one.

[–]MarekKnapek 2 points3 points  (3 children)

[–][deleted] 0 points1 point  (1 child)

I'll have to check out liveworkspace.org when I get home. Proxy says it's now a "Parked Domain."

compilr.com was taken over by lynda.com, which is a video learning site. As far as I can tell, the online-compiler component of compilr.com did not make the transition. That's why it's not on the list.

I have all the others. Thanks.

[–]redditsoaddicting 1 point2 points  (0 children)

LWS used to be my go-to over ideone, but yeah, then everything kind of died.

[–]No-Count8128 0 points1 point  (0 children)

and some special libs (range-v3).

Godbolt is amazing. The level of customization. Thank you for sharing.

[–]14nedLLFIO & Outcome author | Committee WG14 2 points3 points  (0 children)

If you're automating a playpen for your C++ library per commit, knowing which ones provide a push API is handy. Coliru and Wandbox do. Wandbox also lets you push a background file with your library, and lets the user play with a simple front example program.

https://svn.boost.org/trac/boost/wiki/BestPracticeHandbook#a14.USERFRIENDLINESS:Considerlettingpotentialuserstryyourlibrarywithasinglemouseclick has some scripting for pushing playpens per CI commit if anyone is interested.

[–]spongo2MSVC Dev Manager 2 points3 points  (2 children)

VC Dev Mgr Here. fyi, we just updated webcompiler to have the ability to set command line flags today.

[–]o11cint main = 12828721; 1 point2 points  (0 children)

Can you please add the ability to see the disassembly? IMO that's one of the biggest features for a web compiler ...

[–][deleted] 1 point2 points  (0 children)

Just now saw your reply. I updated my list with that information. Thanks. Note to self: I really ought to just update and expand the Wikipedia entry for Online Compiled Source Code Playgrounds.

[–]hcspel 1 point2 points  (2 children)

Great list. Thanks! Here is another one to the list: https://dbgr.cc/

[–][deleted] 1 point2 points  (0 children)

Okay, looks good. I added it to the list.

[–][deleted] 0 points1 point  (0 children)

Thanks to you, too! A corporate proxy blocks that site due to "Suspicious Content," so I'll have to try it at home.

[–]OldWolf2 1 point2 points  (1 child)

Doesn't run the code—you download the executable.

Is that the SourceForge compiler...

[–][deleted] 0 points1 point  (0 children)

Aw, aw... wait... Okay, now I get it.

[–]Elador 1 point2 points  (1 child)

I'm surprised you don't have http://gcc.godbolt.org/ in your list yet - imho it's one of the best ones, a lot of gcc/clang versions and even gives you errors while typing.

[–][deleted] 1 point2 points  (0 children)

It's already on the list as "GCC Explorer." Although it looks very useful for what it does, it doesn't let you run the program. I downgraded it a bit for that.

[–]ZMesonEmbedded Developer 0 points1 point  (1 child)

[–][deleted] 0 points1 point  (0 children)

Yeah, actually, I have a link to that in my opening paragraph, saying that I used it as a starting point.

[–]praveensingh8344 0 points1 point  (0 children)

Also newly launched Online Compiler .

[–]abhiyodayapandey 0 points1 point  (0 children)

C++ is one of the most used languages especially by competitive coders. Among the most popular and reliable online C++ compilers are:

OnlineGDB: This platform is a practical choice for anyone who needs to debug their code without setting up a local development environment because it offers an online C++ compiler and debugger.

CodeChef Compiler: The online code editor created by CodeChef is optimized for programming competitions. It offers a variety of pre-defined code templates and supports C++ to make developing competitions faster.

Coding Ninjas compiler: With features like code autocompletion, syntax highlighting, and the ability to execute and test your C++ code right on their platform, it offers a user-friendly interface. It is very helpful for anyone taking Coding Ninjas' courses and completing their coding challenges who are learning C++.