* * *

Author Topic: Pascal in Compiler Explorer  (Read 1618 times)

partouf

  • Newbie
  • Posts: 4
Pascal in Compiler Explorer
« on: November 30, 2017, 11:59:36 pm »
Hi

I've been working with the people from Compiler Explorer to get FPC into the website these last few weeks.

So I would like to mention, it's live! At https://pascal.godbolt.org/

If you don't know Compiler Explorer, it's currently big in the C++ community where people code, share and find out what different compilers do to their code. Here's a cool talk Matt Godbolt did about Compiler Explorer at Cppcon https://www.youtube.com/watch?v=bSkpMdDe4g4

Have at it, and let me know if you think it's cool

engkin

  • Hero Member
  • *****
  • Posts: 2020
Re: Pascal in Compiler Explorer
« Reply #1 on: December 01, 2017, 02:56:59 am »
Thank you! I needed something like that a few hours ago.

I see it includes x86-64 of 2.6.0, 2.6.2, 2.6.4, 3.0.2
It does not have x86, ARM or AVR compilers [, yet].
« Last Edit: December 01, 2017, 02:59:13 am by engkin »

edwinyzh

  • New member
  • *
  • Posts: 30
Re: Pascal in Compiler Explorer
« Reply #2 on: December 01, 2017, 05:14:05 am »
@partouf, interesting! It doesn't obvious to me where does the actual compilation takes place?

BBasile

  • Sr. Member
  • ****
  • Posts: 400
Re: Pascal in Compiler Explorer
« Reply #3 on: December 01, 2017, 06:14:21 am »
Thanks, for the information, that's a good news. I occasionally use the D version, and i can say it's useful, especially when to help writing inline assembler.

partouf

  • Newbie
  • Posts: 4
Re: Pascal in Compiler Explorer
« Reply #4 on: December 01, 2017, 07:52:03 am »
@partouf, interesting! It doesn't obvious to me where does the actual compilation takes place?

The website uses docker environments running Linux on Amazon. All the source is available on Github

partouf

  • Newbie
  • Posts: 4
Re: Pascal in Compiler Explorer
« Reply #5 on: December 01, 2017, 07:57:09 am »
Thank you! I needed something like that a few hours ago.

I see it includes x86-64 of 2.6.0, 2.6.2, 2.6.4, 3.0.2
It does not have x86, ARM or AVR compilers [, yet].

I took a couple default linux 64 versions from the official binary downloads, which only contain x86-64 stuff.

I wanna gauge the interest first before I put in the work to get other versions and/or crosscompile in.

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6326
Re: Pascal in Compiler Explorer
« Reply #6 on: December 01, 2017, 11:03:38 am »
Does the default deliberately run the compiler without optimization?

partouf

  • Newbie
  • Posts: 4
Re: Pascal in Compiler Explorer
« Reply #7 on: December 01, 2017, 11:40:07 am »
Does the default deliberately run the compiler without optimization?

Correct, parameters are appended, not overridden, so its the basics to make compilation work and then you can customize everything else

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus