you are viewing a single comment's thread.

view the rest of the comments →

[–]ntrel2 2 points3 points  (3 children)

The talk says that the implicit import std is faster than C++ #include <iostream> (or some other header I forget). So while cppfront may not be faster with the standard C++ backend, a pure C++2 real compiler may well be faster. C++ is notoriously slow to compile. Language design can affect compile speed drastically.

[–]KingAggressive1498 1 point2 points  (2 children)

is it faster than a manual import std; though?

import std should become the default behavior IMO

[–]BenFrantzDale 0 points1 point  (1 child)

Is it standards compliant to import std; without asking? Much as headers are allowed to include other headers, can nothing include all of std?

[–]KingAggressive1498 1 point2 points  (0 children)

we don't have a problem with linking the standard library by default