#cppfront

रञ्जित (Ranjit Mathew)rmathew
2024-08-01
CppConCppCon
2024-02-20

We have released a new CppCon 2023 Video!

Advancing cppfront with Modern C++: Refining the Implementation of is, as, and UFCS – Filip Sajdak – CppCon 2023
youtu.be/nN3CPzioX_A

CppConCppCon
2023-12-22

We have released a new CppCon 2023 Video!

Cooperative C++ Evolution – Toward a Typescript for C++ – Herb Sutter
youtu.be/8U3hl8XMm8c

2023-11-13

fizzbuzz in . Unfortunately, I don't know how to make it shorter.

divisible_by_3: (p: std::pair<int, int>) -> bool = {
    return p.first == 0 && p.second != 0;
}
divisible_by_5: (p: std::pair<int, int>) -> bool = {
    return p.first != 0 && p.second == 0;
}
divisible_by_15: (p: std::pair<int, int>) -> bool = {
    return p.first == 0 && p.second == 0;
}

fizzbuzz: (n: int) -> std::string = {
    return inspect std::pair(n % 3, n % 5) -> std::string {
        is (divisible_by_3) = std::string("fizz");
        is (divisible_by_5) = std::string("buzz");
        is (divisible_by_15) = std::string("fizzbuzz");
        is _ = std::to_string(n);
    };
}

main: () = {
	v: std::vector<int> = ();
	v.resize(100);
	std::iota(v.begin(), v.end(), 1);
	for v do (n)
		std::cout << fizzbuzz(n) << '\n';
}
GripNewsGripNews
2023-08-14

🌘 我的C++ Now 2023演講已上線: "一個針對C++的TypeScript"
➤ C++ Now 2023演講: "一個針對C++的TypeScript"
herbsutter.com/2023/08/13/my-c
Herb Sutter在C++ Now 2023演講中介紹了他的cppfront實驗項目,該項目旨在通過採用TypeScript計劃來改進C++。演講中還討論了C++的兼容性和不同計劃的優先級和取捨。
+ 這個演講很有意思,我對cppfront的發展很感興趣。
+ 我很期待看到C++在未來如何發展,特別是在兼容性方面的努力。
++演講

2023-08-12

@meetingcpp

#cpp #cppfront #cppfront2 #cmake

I encountered a problem with vscode not respecting the breakpoints in the files generated by the cpp2 tool. However, this seems to be a vscode issue, not a cpp2 issue, as reported here: [github.com/modern-cmake/cppfro]. I couldn’t find a solution, so maybe someone else has an idea how to fix it.

By the way, I agree that cppfront with cmake is an excellent way to start using modules and modern C++20 features.

[𝚜𝚒𝚍𝚗𝚎𝚢𝚜𝟷@~/𝚜𝚛𝚌]$:blinking_cursor:​Sidneys1@infosec.exchange
2023-04-05

Herb Sutter's #cppfront/#cpp2 is brilliant, and I hope features from it continue being introduced to the standard.

Very orthogonal to #serenityos' "#Jakt".

Tobias Schmidltobias@schmidl.dev
2023-03-01

für mich ist #cppfront im Moment die spannendste Entwicklung für #cpp #cplusplus https://github.com/hsutter/cppfront

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst