Matheus C. França

Results 305 comments of Matheus C. França

> no, but theres no reason why it can't work **Transpiling test** ```diff - bool enumerate(std::vector& out_buf, size_t count); + bool enumerate(std::vector& out_buf, size_t count); ``` ```bash info: using host...

### C++11/14 #### Typed **input** ```c++ int square = [](int num) { return num * num; }; ``` **output** ```bash info: binding `cxx.h` info: transpiled 51/51 (100.00 %) info: formating...

> Just out of curiosity is there any library that shows a real use example of this? No! I don't know of any libraries that have this requirement. It is...

Another test ```c++ int foo(){ return [](){return 6;}(); } ``` **Output**: ```zig // auto generated by c2z const std = @import("std"); //const cpp = @import("cpp"); pub fn foo() c_int {...

Why not use, `perf stat` or massif? to full report: `perf record --call-graph fp program` and `perf report` or ` valgrind --tool=massif --stacks=yes program` **References** - https://rust-lang.github.io/packed_simd/perf-guide/prof/linux.html - https://rustc-dev-guide.rust-lang.org/profiling/with_perf.html

Currently, Ubuntu noble have flang-18 LLVM v18.1.3

Another project https://github.com/episcopus2001/kaleidoscope ? cc: @episcopus2001

#### First example This C example code has been used `zig translate-c` to Zig (it will be refactored for better understanding). ```c #include #include #include "llvm-c/Core.h" #include "llvm-c/ExecutionEngine.h" #include "llvm-c/Target.h"...

Although the readme claims to support v4.4 to 5.x, it is actually being tested on 5.3-dev. The last commit added a wrapper to handle the IDF version. The main idea...