VisualRust: A basic Visual Studio extension for Rust (visualstudiogallery.msdn.microsoft.com) 38 points by adamnemecek 11y ago ↗ HN
[–] cheepin 11y ago ↗ Relatively primitive, but I'm glad things like this are being made.I would switch to Rust from C++ in a heartbeat if I could easily call the Windows.h stuff, or even just plug into existing C++ code I've written. [–] cpeterso 11y ago ↗ Rust's C FFI is well-supported because Mozilla's Servo needs to integrate with other Mozilla code written in C++, like SpiderMonkey. [–] adamnemecek 11y ago ↗ I'm guessing that he's complaining about the fact that you still have to expose your C++ code with a C API. [–] bratsche 11y ago ↗ I guess that's an issue trying to get C++ to work with most other languages, due to non-standardized name mangling schemes and whatnot. [–] pcwalton 11y ago ↗ Name mangling isn't the problem; vtable layout and templates are. In particular, templates are pretty much unsolvable without embedding all of C++ in the language. [–] femngi 11y ago ↗ Never mind working with other languages, it's a problem just linking between different compiler versions. [–] zura 11y ago ↗ I'm still waiting for "VisualErlang".
[–] cpeterso 11y ago ↗ Rust's C FFI is well-supported because Mozilla's Servo needs to integrate with other Mozilla code written in C++, like SpiderMonkey. [–] adamnemecek 11y ago ↗ I'm guessing that he's complaining about the fact that you still have to expose your C++ code with a C API. [–] bratsche 11y ago ↗ I guess that's an issue trying to get C++ to work with most other languages, due to non-standardized name mangling schemes and whatnot. [–] pcwalton 11y ago ↗ Name mangling isn't the problem; vtable layout and templates are. In particular, templates are pretty much unsolvable without embedding all of C++ in the language. [–] femngi 11y ago ↗ Never mind working with other languages, it's a problem just linking between different compiler versions.
[–] adamnemecek 11y ago ↗ I'm guessing that he's complaining about the fact that you still have to expose your C++ code with a C API. [–] bratsche 11y ago ↗ I guess that's an issue trying to get C++ to work with most other languages, due to non-standardized name mangling schemes and whatnot. [–] pcwalton 11y ago ↗ Name mangling isn't the problem; vtable layout and templates are. In particular, templates are pretty much unsolvable without embedding all of C++ in the language. [–] femngi 11y ago ↗ Never mind working with other languages, it's a problem just linking between different compiler versions.
[–] bratsche 11y ago ↗ I guess that's an issue trying to get C++ to work with most other languages, due to non-standardized name mangling schemes and whatnot. [–] pcwalton 11y ago ↗ Name mangling isn't the problem; vtable layout and templates are. In particular, templates are pretty much unsolvable without embedding all of C++ in the language. [–] femngi 11y ago ↗ Never mind working with other languages, it's a problem just linking between different compiler versions.
[–] pcwalton 11y ago ↗ Name mangling isn't the problem; vtable layout and templates are. In particular, templates are pretty much unsolvable without embedding all of C++ in the language. [–] femngi 11y ago ↗ Never mind working with other languages, it's a problem just linking between different compiler versions.
[–] femngi 11y ago ↗ Never mind working with other languages, it's a problem just linking between different compiler versions.
[–] agapos 11y ago ↗ Was that made by the MS folks, or it is only hosted on their site? [–] asdfs 11y ago ↗ Just hosted. cmr's github page says he works for Mozilla.
9 comments
[ 0.29 ms ] story [ 30.0 ms ] threadI would switch to Rust from C++ in a heartbeat if I could easily call the Windows.h stuff, or even just plug into existing C++ code I've written.