Cooperative C++ Evolution
seamlessly call any JS code. Swift: Bidirectional (Swift calls ObjC, ObjC calls Swift), ObjC-friendly object and lifetime models (ObjC ARC + modules designed for Swift), automatic bridging header generation 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 JavaScript Cooperates seamlessly call any JS code. Swift: Bidirectional (Swift calls ObjC, ObjC calls Swift), ObjC-friendly object and lifetime models (ObjC ARC + modules designed for Swift), automatic bridging header generation0 码力 | 85 页 | 5.73 MB | 5 月前3Making Libraries Consumable for Non-C++ Developers
2002, 2005 JVM – Java Native Access (JNA) – 2007 Go – cgo – permit C in the .go source file – 2009 Swift – share a runtime and be like C – 2014There is no one approach. Make it suck less by recognizing Reference counted - C++ – std::shared_ptr- Python - Objective-C (manual or automatic – see ARC) - Swift - COM – AddRef()/Release() - Non-Reference counted - .NET - JVM - JavaScript Manual memory management 0 码力 | 29 页 | 1.21 MB | 5 月前3Composing Ancient Mathematical Knowledge Into Powerful Bit-fiddling
different types of code - Lots of C++ in our audio engine - C++ in neural inference code - Some Swift for our iOS - Some Typescript - Plus a bunch more… - MSc Computer Science from Queen Mary, University0 码力 | 73 页 | 947.99 KB | 5 月前3A Case-study in Rewriting a Legacy GUI Library for Real-time Audio Software in Modern C++
@end @implementation Button @synthesize text; @synthesize bgColor; @implementation iZotope Inc.Swift class Button : NSView { var text: String = "" { didSet { SetNeedsLayout(); SetNeedsDisplay();0 码力 | 138 页 | 2.75 MB | 5 月前3Exploration of Strongly-typed Units: A Case Study from Digital Audio
composition ● Programmed my own tools ● Many years polyglot consultant ● Involved in early days of Swift Evolution ● 7 years writing C++ for digital audio ● Artisanal unit vocabulary types By Buchla0 码力 | 106 页 | 5.66 MB | 5 月前3Delivering safe C++
safe language when possible. Some examples of memory safe languages are C#, Go, Java, Ruby™, and Swift®. • NSA: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2739r0.pdf Stroustrup - C++0 码力 | 74 页 | 2.72 MB | 5 月前3Better Code: Contracts
discovering how the code works. —Nathan Gitter (https://medium.com/@nathangitter/local-reasoning-in-swift-6782e459d) 5© 2023 Adobe. All Rights Reserved. Local reasoning | The tower of abstraction 6©0 码力 | 204 页 | 4.46 MB | 5 月前3
共 7 条
- 1