TinyC has not similar perfomance to gcc and clang, its actually slower as
Stephan already mentioned. 

Thats the price one has to pay for the much smaller compiler, it loses a lot
of optimisations.

Clement from what you saying its clear my idea would not work at all, the
advantage of tinyC is that is 10 times faster than gcc and clang for
compilation but the FFI overheads would kill performance indeed. And if the
code becomes much larger it does not make sense to use a C inliner as it
would be cleaner and easier to just keep the C code separate. 

Ben TinyC has been abandoned by the original author but it is now even more
actively developed because several people have stepped in his place , its
git repo can be found here

http://repo.or.cz/w/tinycc.git

its not near as actively developed as gcc or clang of course but its not
inactive either. 

Anyway this is obviously a ton more work than I am willing to invest and
with no real benefit, so thanks for opening my eyes. Back to something far
more simple. 



--
View this message in context: 
http://forum.world.st/A-new-idea-for-a-project-WarpSpeed-a-C-inliner-tp4881273p4881469.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply via email to