RUST AS A CASE STUDYBENEFITS AND DRAWBACKS OF ADOPTING A SECURE PROGRAMMING LANGUAGE: RUST AS A CASE STUDY Kelsey Fulton, Anna Chan, Daniel Votipka, Michelle Mazurek, Michael Hicks 1 Memory safety vulnerabilities Google / https://www.zdnet.com/article/chrome-70- of-all-security-bugs-are-memory-safety-issues/ Case Study: Rust ■ Attempt safety and performance (e.g., no GC) ■ Useful where C/C++ are hardest to like? ■ What benefits (if any) accrue after the adoption of a secure programming language? 3 Case Study: Rust ■ Semi-structured interview with senior developers (I = 16) ■ Survey with Rust community0 码力 | 19 页 | 3.37 MB | 1 年前3
Solving Nim by the Use of Machine LearningSolving Nim by the Use of Machine Learning Exploring How Well Nim Can be Played by a Computer Mikael Nielsen Røykenes Thesis submitted for the degree of Master in Informatics: Programming and Networks 2019 Solving Nim by the Use of Machine Learning Exploring How Well Nim Can be Played by a Computer Mikael Nielsen Røykenes c⃝ 2019 Mikael Nielsen Røykenes Solving Nim by the Use of Machine Learning http://www Answer . . . . . . . . . . . . . . . . . . . . . . 52 8 Comparing the Algorithms with Actual Time-use 52 8.1 Reinforcement Learning . . . . . . . . . . . . . . . . . . . . . . . 53 8.1.1 The naming of0 码力 | 109 页 | 6.58 MB | 1 年前3
Exploration of Strongly-typed Units: A Case Study from Digital Audiounit libraries for us? …yes!Are physical unit libraries for us? ● “Physical units don’t cover our use cases” ○ Not just about “physical” quantities/units ● “Don’t handle non-linear units” ○ nholthaus …Digital audio considerations… ● Mostly operating on float ● Don’t want unnecessary conversions ● Use 3rd party APIs (float, unsigned) ● “Modulation rate” is a frequency (Hz)Musical tempo …MIDI example PCM²}What’s next?Are physical unit libraries for us? ● Do all my examples work in Xcode 15? ● Should we use Au in the meantime? ● Contribute to decibel units in mp-units ● Experiment with FFT and complex numbers0 码力 | 106 页 | 5.66 MB | 6 月前3
Real world Rust
- Why and how we use Rust in TiKVReal world Rust Why and how we use Rust in TiKV 黄东旭 PingCAP 关于我 ● 黄东旭 Dongxu_Huang ● Open source hacker / Infrastructure Engineer ● MSRA / Netease / Wandoujia / PingCAP ● CTO of PingCAP ● Codis system programming language ○ Maintain by Mozilla ● Stable: 1.13 ○ Stable enough for production use ● Alternative to C/C++ Why Rust? ● Safe ○ Thread safety guarantee ○ Segfaults free ● Blazingly fn main() { let a = vec![1,2,3]; do_vec(a); println!("{}", a) } 内存安全 error[E0382]: use of moved value: `a` --> src/main.rs:6:20 | 5 | do_vec(a); | - value moved here0 码力 | 29 页 | 506.53 KB | 1 年前3
Writing Python Bindings for C++ Libraries: Easy-to-use PerformancePython? ● Writing extensive APIs in Python - low boilerplate ● Familiar for domain experts ● Easy to use ○ Amazing interactive support out of the box (IPython) ○ Jupyter notebooks provide a great research time, others use python to do that Everything compiled with clang++12 -fPIC -O3Some perf numbers: per increment runtime https://news.ycombinator.com/item?id=34663930 Out in the wild case of noticing high boost::python::object ○ boost::python::object is a smart pointer around a PyObject* ○ Only useful to use bpy::object if you’re going to keep it around ○ Why would we want to do this?Arguments to functions0 码力 | 118 页 | 2.18 MB | 6 月前3
Coroutine Patterns and How to Use Them: Problems and Solutions Using Coroutines in a Modern CodebaseFrancesco Zoffoli - Coroutine Patterns and How to Use Them - CppCon 2023 2About Me • Software engineer building monitoring systems at • Passionate about C++ • Author of the book “C++ Fundamentals” – Packt Packt • I like writing and talking about C++ Francesco Zoffoli - Coroutine Patterns and How to Use Them - CppCon 2023 3 makers.f.dev@gmail.comOutline • Motivation • Overview • Patterns • Lifetime Coroutine Patterns and How to Use Them - CppCon 2023 4Motivation • 40 years of • Experience • Accumulated knowledge Francesco Zoffoli - Coroutine Patterns and How to Use Them - CppCon 2023 5Motivation0 码力 | 70 页 | 1.45 MB | 6 月前3
唐刚 - Use Rust to Develop the Decentralized Open Data Application - RustChinaConf2023第三届中国 Rust 开发者大会 Use Rust to Develop the Decentralized Open Data Application Mike Tang daogangtang@gmail.com @daogangtang 2023-06-08 ➔ 裁员 ➔ 互联网格局定型 ➔ 平台倒闭,数据丢失 这是一个什么时代? 互联网的终局 创业 -> 种子 com/eightfish-org/eightfish EightFish intends to develop the Data-kind Decentralized Application. You can use the traditional Web development coding style to develop a ODA. How to develop Open Data Application https://github.com/eightfish-org/gutp A Case: GUTP MeBlog is a blog platform for users with the features of open-data and ownership. https://github.com/miketang84/meblog A Case: Meblog Connected to GUTP All0 码力 | 30 页 | 2.53 MB | 1 年前3
A Case-study in Rewriting a Legacy GUI Library for Real-time Audio Software in Modern C++0 码力 | 138 页 | 2.75 MB | 6 月前3
Drawing UML with PlantUML - PlantUML Language Reference Guide(Version 1.2023.11)write : • Sequence diagram • Usecase diagram • Class diagram • Object diagram • Activity diagram • Component diagram • Deployment diagram • State diagram • Timing diagram The following non-UML Data • Network diagram (nwdiag) • Wireframe graphical interface • Archimate diagram • Specification and Description Language (SDL) • Ditaa diagram • Gantt diagram • MindMap diagram • Work Breakdown Structure diagram • Mathematic with AsciiMath or JLaTeXMath notation • Entity Relationship diagram Diagrams are defined using a simple and intuitive language. 1 SEQUENCE DIAGRAM 1 Sequence Diagram Creating0 码力 | 551 页 | 7.79 MB | 1 年前3
PlantUML 1.2021.3 Language Reference Guidewrite : • Sequence diagram • Usecase diagram • Class diagram • Object diagram • Activity diagram • Component diagram • Deployment diagram • State diagram • Timing diagram The following non-UML Data • Network diagram (nwdiag) • Wireframe graphical interface • Archimate diagram • Specification and Description Language (SDL) • Ditaa diagram • Gantt diagram • MindMap diagram • Work Breakdown Structure diagram • Mathematic with AsciiMath or JLaTeXMath notation • Entity Relationship diagram Diagrams are defined using a simple and intuitive language. 1 SEQUENCE DIAGRAM 1 Sequence Diagram 1.10 码力 | 416 页 | 4.33 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
RUSTASCASESTUDYSolvingNimbytheUseofMachineLearningExplorationStronglytypedUnitsCaseStudyfromDigitalAudioRealworldRustWhyandhowweuseinTiKVWritingPythonBindingsforC++LibrariesEasytoPerformanceCoroutinePatternsHowThemProblemsSolutionsUsingCoroutinesModernCodebase唐刚DevelopDecentralizedOpenDataApplicationRustChinaConf2023studyRewritingLegacyGUILibrarytimeSoftwareDrawingUMLwithPlantUMLLanguageReferenceGuideVersion1.2023111.2021













