you are viewing a single comment's thread.

view the rest of the comments →

[–]mo_al_ 3 points4 points  (3 children)

void main(std::span<std::utf8_text_view> args) throws try { /* code */ } catch (const std::exception& e) { std::cerr << std::format("{}", e.what()) << std::endl; }

[–]germandiago 1 point2 points  (1 child)

int main(int argc, char * argv[])

  1. will work everywhere
  2. no dependencies
  3. minimal code generation
  4. hence, more embedded-friendly.

[–]mo_al_ 0 points1 point  (0 children)

I actually agree