Some Things C++ Does Right
to remind us of some of those things that make C++ beautiful, fun and efficient 21 I’ll be using C# for comparisons, but it’s only because I have to use it often these days… …and because it has a to remind us of some of those things that make C++ beautiful, fun and efficient 22 I’ll be using C# for comparisons, but it’s only because I have to use it often these days… …and because it has a it makes me miss C++ quite a lot! This is not a « C++ is better than C# » talk; it’s a « C++ does some things right » talk. C# is a fine language for what it aims to do, and has many strengths. The0 码力 | 228 页 | 2.47 MB | 5 月前3Cooperative C++ Evolution
"interface functions must be public"); f.make_pure_virtual(); } } };C# language: ~18pg, English cppfront today 232425 herbsutter.com/2023/04/30/cppfront-spring-update/26 automatic bridging header generation, tool support to view ObjC as if written in Swift. Roslyn next-gen C# compiler: Strict compatibility requirements, adhered to rigorously via compat tests. Compatible with automatic bridging header generation, tool support to view ObjC as if written in Swift. Roslyn next-gen C# compiler: Strict compatibility requirements, adhered to rigorously via compat tests. Compatible with0 码力 | 85 页 | 5.73 MB | 5 月前3From Your First Line of Code to Your Largest Repo: How Visual Studio Code Can Help You Develop More Efficiently in C++
highly customizable 1 2 3 4 5 6 Extensions allow for rich multi-language support – Python, C++, C#, Typescript... Its free! Works on many OS – develop on Mac, Linux, Windows,... Remote Development Language-specific IntelliSense across your files Download the Extension of Your Choice: Jupyter Notebooks • Use C#, Python, SQL, PowerShell, and more in one notebook • Invoke executable scripts What if I’m working0 码力 | 31 页 | 2.76 MB | 5 月前3The Surprising Costs of Void
reference100 We could do this instead, but what does it mean?101102 In C#, this.Name in this case is a null reference103 In C#, this.Name in this case is still a null reference104 We could do this instead0 码力 | 189 页 | 60.10 MB | 5 月前3Peering Forward: C++'s Next Decade
Andrei’s instrumented_vector, reflect+regenerate any type (“identity”) Learn from related experience (C#, D, Lock3, cppfront) Photo: Die Hard Dicememory safety attacks “cold” cyberwar, in progress72 Software “fill with pattern” approaches jam in dummy values What we really want is “initialize before use” C#, Ada, and other language have “definite initialization” rules for local vars Experience: easy to specify0 码力 | 84 页 | 6.21 MB | 5 月前3Secrets of C++ Scripting Bindings
2Copyright Jason Turner @le�icus emptycrate.com/idocpp SWIG Can generate wrapper libraries for: C# D Go Guile Java Javascript Lua MzScheme/Racket OCaml 4 . 3Copyright Jason Turner @le�icus emptycrate 4 . 4Copyright Jason Turner @le�icus emptycrate.com/idocpp SWIG I have personally used it for: C# Java Javascript Lua Python Ruby 4 . 5Copyright Jason Turner @le�icus emptycrate.com/idocpp What0 码力 | 177 页 | 1.65 MB | 5 月前3C++ Exceptions for Smaller Firmware
● LSDA is included in the Itanium exception ABIs in order to support other languages such as Java, C#, etc. ● Provides a means to allows exceptions to propagate from language to language.What is a LSDA ● LSDA is included in the Itanium exception ABIs in order to support other languages such as Java, C#, etc. ● Provides a means to allows exceptions to propagate from language to language. ● GCC leverages0 码力 | 237 页 | 6.74 MB | 5 月前3Relocation: Blazing Fast Save And Restore, Then Morel!
scatter data • Managers that manage collections of values of heterogeneous types (as in the C++ for C# Delegate we worked on at Snap) • Managers that do relocation! • Concerns about the forward and0 码力 | 41 页 | 2.81 MB | 5 月前3Making Libraries Consumable for Non-C++ Developers
Tell GC to not move object. • The platform needs to provide a mechanism. • .NET has GCHandle and C# has fixed keyword. • Conforming JVM implementations have the option.Memory model Control of “shared”0 码力 | 29 页 | 1.21 MB | 5 月前3Manus AI:Agent元年开启
t:}¯Iú•,¹F'Agent:}Í&-Agentx¦$Œ 6¦Gú•ƒlAgent.m,‰Ÿ‡Agent6nfÆÊËÈÉG)€>ˆæ"ÚGdÐAgentE2JhF,L#&ºïAgent-•$Ñ!c# +C.0p™L3z,ÌÍoÍŸÃcZpCx"G™L#xwq>AgentC¹TAgent•Ìr<2+X-•$2+3z,6áB>LÌÍ F¹TAgentT!ÌÍG"45,Agent‰)€$ŒpÃC342ÌÍ}4>0 码力 | 23 页 | 4.87 MB | 5 月前3
共 34 条
- 1
- 2
- 3
- 4
相关搜索词
SomeThingsC++DoesRightCooperativeEvolutionFromYourFirstLineofCodetoLargestRepoHowVisualStudioCanHelpYouDevelopMoreEfficientlyinTheSurprisingCostsVoidPeeringForwardNextDecadeSecretsScriptingBindingsExceptionsforSmallerFirmwareRelocationBlazingFastSaveAndRestoreThenMorelMakingLibrariesConsumableNonDevelopersManusAIAgent元年开启