Real World Go
Real World Go Andrew Gerrand May 9, 2011 Background 3 Google Confidential Why Go? • Statically typed languages are efficient, but typically bureaucratic and overly complex. • Dynamic languages can Confidential Hello, world package main import "fmt" func main() { fmt.Println("Hello, 世界") } 3 Google Confidential Hello, world 2.0 Serving “Hello, world” at http://localhost:8080/world package main sound, – network tools, – and much more. • Now we call Go a “general-purpose language.” Real World Go 4 Google Confidential Heroku • http://www.heroku.com/ • Heroku provides cloud hosting for Ruby0 码力 | 49 页 | 595.19 KB | 1 年前3C++ in the Developing World, Why it Matters
C++ in the developing world, why it matters Mathew Benson About Me • I like C++! • I am a Graduate Computer Scientist(since 2007) • I have been working with and researching on computers and programming easier to access in the developing world. • It will also look into the C++ language as a platform for education about software due to the large amount of “real world” software that has already been written express programming intent. • C++ was a necessary step up from C. Developing World • The Wikipedia definition of “Developing World” is from the perspective of income levels and access to money. • I will0 码力 | 8 页 | 177.52 KB | 5 月前3Make Successor Build Systems: World Tour of Build Systems
0 码力 | 115 页 | 7.02 MB | 5 月前3Real world Rust - Why and how we use Rust in TiKV
Real 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 ● Codis0 码力 | 29 页 | 506.53 KB | 1 年前3Blazing Trails: Building the World's Fastest CameBoy Emulator in Modern C++
talk: some giveaways! 3Building the World’s Fastest GameBoy Emulator in Modern C++ 4Building the World’s Fastest GameBoy Emulator in Modern C++ 5Building the World’s Fastest GameBoy Emulator in Modern is valuable for a C++ programmer, as C++ often deals with system-level programming.Building the World’s Fastest GameBoy Emulator in Modern C++ The original Game Boy DMG-01 • Released on • 21/04/1989 9And if it isn’t easy: it’s testable https://github.com/c-sp/game-boy-test-roms 10Building the World’s Fastest GameBoy Emulator in Modern C++ 11 A huge library: • GameBoy: 1043 • GameBoy Color: 5760 码力 | 91 页 | 8.37 MB | 5 月前3Just-In-Time Compilation: The Next Big Thing
1HELLO WORLD - HELLO WORLD - P1609R1 P1609R1 5 . 2HELLO WORLD - HELLO WORLD - P1609R1 P1609R1 templateauto jit() -> void { std::cout << typeid(T).name() << '\n'; } 5 . 2HELLO WORLD - HELLO WORLD - P1609R1 P1609R1 template auto jit() -> void { std::cout << typeid(T).name() << '\n'; } jit< int>() // Type -> i 5 . 2HELLO WORLD - HELLO WORLD - P1609R1 P1609R1 template void { std::cout << typeid(T).name() << '\n'; } jit< int>() // Type -> i 5 . 2HELLO WORLD - HELLO WORLD - P1609R1 P1609R1 template [[clang::jit]] // It requires `-fjit` compilation flag 0 码力 | 222 页 | 5.45 MB | 5 月前3Trends Artificial Intelligence
Monetization Threats = Rising Competition + Open-Source Momentum + China’s Rise • AI & Physical World Ramps = Fast + Data-Driven • Global Internet User Ramps Powered by AI from Get-Go = Growth We Have Threats = Rising Competition + Open-Source Momentum + China’s Rise 5.1 China vs. USA vs. Rest of World Industrial Robots Installed Note: Data as of 2023. Source: International Federation of Robotics 7B -$5B Details on Page 173 2023 China Rest of World (excl. China & USA) USA 2014 20236 …Charts Paint Thousands of Words AI & Physical World Ramps = Fast + Data-Driven 6 A Ride Share vs. Autonomous0 码力 | 340 页 | 12.14 MB | 4 月前3Game Development for Human Beings
(as opposed to production, which would be deploying your game to it’s final destination for the world to play it) I recommend including the non-minified phaser.js file (as opposed to phaser.min.js). sprite(this.game.world.centerX, this.game.world.centerY, 'logo'); 10 this.splash.anchor.setTo(0.5); 11 12 this.preloadBar = this.add.sprite(this.game.world.centerX, this.game.world.centerY + 128 state.start('MainMenu'); 28 } 29 }; 1 this.preloadBar = this.add.sprite(this.game.world.centerX, this.game.world.centerY + 128, 'preloadbar'); Is how we load sprites into the screen. We define their0 码力 | 472 页 | 8.46 MB | 10 月前3Nim,A new approach to meta programming
Talk structure 1.What is Nimrod? 2.Implementation aspects 3."Hello World" 4.Meta programming features 5.Optimizing "Hello World" via term rewriting macros 6.Hoisting via term rewriting macros 7.Summary Andreas Rumpf Hello world echo "hello ", "world", 99 Hello world Copyright © 2013 Andreas Rumpf Hello world echo "hello ", "world", 99 is rewritten to: echo([$"hello ", $"world", $99]) • echo is this requires no dynamic binding Hello world Copyright © 2013 Andreas Rumpf Hello world echo "hello ", "world", 99 is rewritten to: echo([$"hello ", $"world", $99]) • echo is declared as: proc echo(a:0 码力 | 45 页 | 360.68 KB | 1 年前3C++20 Modules: The Packaging and Binary Redistribution Story
h> int main() { fmt::print("Hello, world!\n"); } hello_world.cpp hello_world.cpp:2:3: error: use of undeclared identifier 'fmt' fmt::print("Hello, world!\n"); ^ 1 error generated. Around ~350k build system / package manager hello_world.cpp hello_world.oThe include directive - cont’d clang++ -std=c++20 -o hello_world.cpp.o -c hello_world.cpp hello_world.cpp:1:10: fatal error: 'fmt/core.h' file -o hello_world.cpp.o -c hello_world.cpp -I/path/to/fmt/include 👍 These days this is handled by build system abstractions and is hidden away from developers target_link_libraries(hello_world PRIVATE0 码力 | 76 页 | 2.09 MB | 5 月前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
RealWorldGoC++intheDevelopingWhyitMattersMakeSuccessorBuildSystemsTourofworldRustandhowweuseTiKVBlazingTrailsBuildingFastestCameBoyEmulatorModernJustInTimeCompilationTheNextBigThingTrendsArtificialIntelligenceGameDevelopmentforHumanBeingsNimnewapproachtometaprogramming20ModulesPackagingBinaryRedistributionStory