[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-786515-105":3,"detail-sidebar-cat-0-en-105":79,"doc-similar-786515":129,"doc-detail-786515-en":195},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":9,"keywords":10,"description":11,"schema_data":12,"social_meta":72,"head_meta":74,"extra_data":76,"updated_unix":78},105,"en","m1-01-tour","","An introduction to Rust systems programming presents the language’s goal of combining low-level control and performance with type, concurrency, and memory safety. It contrasts Rust’s safeguards with undefined behavior in C and C++, then explains safe Rust’s correctness tradeoff and previews ownership, borrowing, lifetimes, and the borrow checker. Guidance covers Rustup, the Rust book, and a learning sequence from fundamentals to pointers, error handling, traits, generics, and iterators. A Cargo “Hello, world!” example demonstrates project setup and execution.",{"@graph":13,"@context":71},[14,33,54],{"@type":15,"itemListElement":16},"BreadcrumbList",[17,22,26,30],{"item":18,"name":19,"@type":20,"position":21},"https://docshare.wps.com","Home","ListItem",1,{"item":23,"name":24,"@type":20,"position":25},"https://docshare.wps.com/document/","Document",2,{"item":27,"name":28,"@type":20,"position":29},"https://docshare.wps.com/document/technology/","Technology",3,{"item":31,"name":9,"@type":20,"position":32},"https://docshare.wps.com/document/m1-01-tour/786515/",4,{"url":31,"name":9,"@type":34,"image":35,"author":40,"headline":9,"publisher":43,"fileFormat":46,"inLanguage":8,"description":11,"dateModified":47,"datePublished":48,"encodingFormat":46,"isAccessibleForFree":49,"interactionStatistic":50},"DigitalDocument",{"url":36,"@type":37,"width":38,"height":39},"https://docshare.wps.com/thumbnails/m1-01-tour/786515.png","ImageObject",300,407,{"name":41,"@type":42},"just another jess","Person",{"url":18,"name":44,"@type":45},"DocShare","Organization","application/pdf","2026-12-05","2026-12-04",true,{"@type":51,"interactionType":52,"userInteractionCount":21},"InteractionCounter",{"@type":53},"ViewAction",{"@type":55,"mainEntity":56},"FAQPage",[57,63,67],{"name":58,"@type":59,"acceptedAnswer":60},"Why does the material introduce Rust for systems programming?","Question",{"text":61,"@type":62},"Rust aims to provide performance and low-level control while supporting type, concurrency, and memory safety.","Answer",{"name":64,"@type":59,"acceptedAnswer":65},"How does safe Rust manage access to heap objects?",{"text":66,"@type":62},"Each object has one owner, and references allow either multiple readers or one writer. The borrow checker checks that references do not outlive the object.",{"name":68,"@type":59,"acceptedAnswer":69},"How can learners begin practicing Rust?",{"text":70,"@type":62},"The material recommends installing Rust locally with Rustup, consulting the Rust book, and creating and running a “Hello, world!” project with Cargo.","https://schema.org",{"og:url":31,"og:type":73,"og:title":9,"og:site_name":44,"og:description":11},"article",{"robots":75,"canonical":31},"index,follow",{"doc_id":77,"site_id":7},786515,1796427834,{"code":4,"msg":80,"data":81},"success",[82,86,90,94,99,103,108,113,118,121,125],{"id":21,"doc_module":4,"doc_module_name":24,"category_name":83,"show_sort_weight":84,"slug":85},"Story & Novel",90,"story-novel",{"id":25,"doc_module":4,"doc_module_name":24,"category_name":87,"show_sort_weight":88,"slug":89},"Literature",80,"literature",{"id":32,"doc_module":4,"doc_module_name":24,"category_name":91,"show_sort_weight":92,"slug":93},"Exam",70,"exam",{"id":95,"doc_module":4,"doc_module_name":24,"category_name":96,"show_sort_weight":97,"slug":98},5,"Comic",60,"comic",{"id":100,"doc_module":4,"doc_module_name":24,"category_name":28,"show_sort_weight":101,"slug":102},6,50,"technology",{"id":104,"doc_module":4,"doc_module_name":24,"category_name":105,"show_sort_weight":106,"slug":107},7,"Healthcare",40,"healthcare",{"id":109,"doc_module":4,"doc_module_name":24,"category_name":110,"show_sort_weight":111,"slug":112},8,"Research & Report",30,"research-report",{"id":114,"doc_module":4,"doc_module_name":24,"category_name":115,"show_sort_weight":116,"slug":117},9,"Religion & Spirituality",20,"religion-spirituality",{"id":116,"doc_module":4,"doc_module_name":24,"category_name":119,"show_sort_weight":116,"slug":120},"World Cup","world-cup",{"id":122,"doc_module":4,"doc_module_name":24,"category_name":123,"show_sort_weight":122,"slug":124},10,"Lifestyle","lifestyle",{"id":126,"doc_module":4,"doc_module_name":24,"category_name":127,"show_sort_weight":95,"slug":128},19,"General","general",{"list":130,"token":10},[131,138,144,151,158,164,170,177,183,189],{"doc_id":132,"doc_title":133,"file_type":134,"home_preview_img_url":135,"slug":136,"view_count":109,"category_name":28,"create_tm":137},692238,"The Go Programming Handbook - A Complete Guide to Building Production-Grade Applications in Golang","pdf","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003019020/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796585159&Signature=HggcLCl0A3HiuDyLeDvCli6L7gQ%3D","the-go-programming-handbook-a-complete-guide-to-building-production-grade-applications-in-golang",1794186695,{"doc_id":139,"doc_title":140,"file_type":134,"home_preview_img_url":141,"slug":142,"view_count":21,"category_name":28,"create_tm":143},786514,"100 Exercises to Learn Rust","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230057400557/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796585159&Signature=sZp46dgwAlw7CBc0nYJ0A13Jrkw%3D","100-exercises-to-learn-rust",1796427832,{"doc_id":145,"doc_title":146,"file_type":134,"home_preview_img_url":147,"slug":148,"view_count":149,"category_name":28,"create_tm":150},122608,"LF-checker - Machine Learning Acceleration of Bounded Model Checking for Concurrency Verification - Competition Contribution","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836914706/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796585159&Signature=i2ZFTEKwmMstVzeEzdpgs70uOvM%3D","lf-checker-machine-learning-acceleration-of-bounded-model-checking-for-concurrency-verification-competition-contribution",17,1785811710,{"doc_id":152,"doc_title":153,"file_type":134,"home_preview_img_url":154,"slug":155,"view_count":156,"category_name":28,"create_tm":157},503465,"casperfpga_rs - Rust-based interface to CASPER devices","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229931890301/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796585159&Signature=NFyV%2FHEBHH0Q%2B0X%2FnxB9xslsjq8%3D","casperfpga_rs-rust-based-interface-to-casper-devices",12,1791056703,{"doc_id":159,"doc_title":160,"file_type":134,"home_preview_img_url":161,"slug":162,"view_count":101,"category_name":28,"create_tm":163},18719,"C++ Crash Course","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229708595827/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796585159&Signature=GRLD3WL5ZJ%2BZi3h7joAUF49vI2c%3D","c-crash-course",1777069611,{"doc_id":165,"doc_title":166,"file_type":134,"home_preview_img_url":167,"slug":168,"view_count":32,"category_name":28,"create_tm":169},685670,"A Tour of C++: Containers and Algorithms - Chapter 4 - Standard-library Facilities Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000175903/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796585159&Signature=AZXT1769%2BHy9VWKMpdIFZV9N44I%3D","a-tour-of-c-containers-and-algorithms-chapter-4-standard-library-facilities-overview",1794016542,{"doc_id":171,"doc_title":172,"file_type":134,"home_preview_img_url":173,"slug":174,"view_count":175,"category_name":28,"create_tm":176},347076,"Core Java - Volume 1 - Twelfth Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229910997667/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796585159&Signature=pEm%2By%2FCBBDpDPLHCMZ9vF1sWulY%3D","core-java-volume-1-twelfth-edition",32,1790065168,{"doc_id":178,"doc_title":179,"file_type":134,"home_preview_img_url":180,"slug":181,"view_count":114,"category_name":28,"create_tm":182},655599,"State Diagrams - State and Activity Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975286048/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796585159&Signature=1yJHD4t8HVEE1PW1KY5SXwgb8Go%3D","state-diagrams-state-and-activity-diagrams",1792962838,{"doc_id":184,"doc_title":185,"file_type":134,"home_preview_img_url":186,"slug":187,"view_count":104,"category_name":28,"create_tm":188},418997,"Translating short-form Python exercises to other programming languages using diverse prompting strategies","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922540857/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796585159&Signature=nym55fmBBYkUthNSDAUCJkV%2Fk2w%3D","translating-short-form-python-exercises-to-other-programming-languages-using-diverse-prompting-strategies",1790615219,{"doc_id":190,"doc_title":191,"file_type":134,"home_preview_img_url":192,"slug":193,"view_count":32,"category_name":28,"create_tm":194},705088,"C# Game Programming - For Serious Game Creation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230015594627/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796585159&Signature=KEFxcA9srCSc1Wtaog%2BUo5ZKLaU%3D","c-game-programming-for-serious-game-creation",1794682989,{"code":4,"msg":80,"data":196},{"doc_id":77,"user_id":197,"nickname":41,"user_avatar":198,"doc_module":4,"category_id":100,"category_name":28,"doc_title":9,"doc_description":11,"doc_content":199,"file_id":200,"file_url":201,"file_type":134,"file_size":202,"view_count":21,"is_deleted":4,"is_public":21,"is_downloadable":21,"audit_status":21,"page_count":203,"language":204,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":205,"faqs":206,"seo_title":207,"seo_description":11,"update_tm":78,"read_time":208,"preview_page_count":32,"preview_urls":209},1649274589102,"https://us-avatar.wpscdn.com/davatar_085a072bc5b1113ac321206ff7593b45","CS 4414/5416: Systems Programming  \nGetting Started with Rust  \nDavid Bindel 2026-08-25  \nWhy Rust?  \nWhy Rust?  \nint main (int argc , char** argv) { int a [1];  \na [1] = -1 ;  \nreturn 0 ;}  \nSystems programming is resource-constrained programming  \n• This often means low-level code  \n• Traditional languages are C and C++  \n• But these have lots of undefined behavior  \n• Out-of-bound access, use-after-free, race conditions,…  \nIs this the inevitable cost of low-level control? No!  \nWhy Rust?  \n• A (mostly) safe systems programming language  \n• Designed for performance and low-level control  \n• Also type safety, concurrency, and memory safety  \n• Early public versions sponsored by Mozilla  \n• Version 0 .1 was in 2012  \n• Taken over by Rust Foundation in 2021  \n• And it has taken off!  \n• Used at Google, Microsoft, Meta, in the Linux kernel  \n• Has a sizeable developer community  \nThe Rust Tradeoff  \nFor any reasonable language, we either have a choice  \n• Allow some incorrect programs (with UB)  \n• Only allow correct programs (but reject some as well)  \nSafe Rust: restrict to programs it can prove correct.  \n(There is also unsafe Rust, which we will mostly avoid. )  \n• If it type checks, it is guaranteed free some problems!  \n• If it doesn’t type check, the messages are helpful.  \nMemory Safety (a preview)  \nFor heap objects (and the like):  \n• There is exactly one owner at any time  \n• Pointer access (created by “borrowing a reference”) involves  \n• Any number of readers xor  \n• One writer  \n• The object has a lifetime that no reference can exceed This is all checked by a borrow checker.  \nChallenge: A performant doubly-linked list in Rust is hard!  \nGetting Started  \nThe Rust Programming Language  \n• See [https://rust-lang.org/](https://rust-lang.org/) (particularly the playground)  \n• You will want to install locally using Rustup  \n• Make sure you are using the most recent version (1 .97.1)  \nThe Rust Programming Language  \nKey reference: [https://doc. rust-lang.org/book/](https://doc. rust-lang.org/book/)[ ](https://doc. rust-lang.org/book/)Rough plan is  \n• Today: the mostly-familiar bits (Rust book Ch 1-3)  \n• Thurs: overview of 4-6 in Rust book  \n• Next week: pointers, memory, ownership, borrow  \n• Two weeks: error handling, traits and generics, iterators Do read and practice outside lecture! And join us on Ed!  \nHello world  \nAt the shell, run cargo new hello for new Rust project  \nhello/ Cargo.tomlsrc/  \n[main.rs](main.rs)  \nWithin hello, run cargo run  \nCompiling hello v0 .1 .0 (/Users/dbindel/work/class/cs4414-f26/hello)  \nFinished `dev` profile [unoptimized + debuginfo] target(s  \nRunning `target/debug/hello` Hello, world!  \nWe can also try this out in the playground.","cbCaioqW7y7KY8iE","https://ap.wps.com/l/cbCaioqW7y7KY8iE",96659,29,"English","# Why Rust?\n## Systems programming and safety\n## The Rust tradeoff\n# Memory Safety\n## Ownership, borrowing, and lifetimes\n# Getting Started\n## Rustup and learning resources\n## Study plan\n# Hello world\n## Creating and running a Cargo project","[{\"question\":\"Why does the material introduce Rust for systems programming?\",\"answer\":\"Rust aims to provide performance and low-level control while supporting type, concurrency, and memory safety.\"},{\"question\":\"How does safe Rust manage access to heap objects?\",\"answer\":\"Each object has one owner, and references allow either multiple readers or one writer. The borrow checker checks that references do not outlive the object.\"},{\"question\":\"How can learners begin practicing Rust?\",\"answer\":\"The material recommends installing Rust locally with Rustup, consulting the Rust book, and creating and running a “Hello, world!” project with Cargo.\"}]","m1-01-tour | PDF",73,[210,214,217,221],{"page_no":21,"url":211,"width":212,"height":213},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-04/32fed374f39b74551a1d054d3434c550.webp",983,736,{"page_no":25,"url":215,"width":216,"height":213},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-04/249cf687a8cfc57875c2734a32261bae.webp",982,{"page_no":29,"url":218,"width":219,"height":220},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-04/8aa098a3fc7b99fd2b7b0c56bfbdaa3d.webp",981,735,{"page_no":32,"url":222,"width":223,"height":224},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-04/569ca1cd074969907d4576ff7d9387b6.webp",980,734]