Chapter 1 of Programming Erlang:begin
来源:互联网 发布:哈工大数据结构与算法 编辑:程序博客网 时间:2024/06/09 16:08
Oh no!Not another programming language!Do I have to learn yet another one?Aren't there enough already?
I can understand your reaction.There are loads of programming languages,so why should you learn another?
Here are five reasons why you should learn Erlang:
*You want ot write programs that run faster when you run them on a multicore computer.
*You want to write fault-tolerant applications that can be modified without taking them out of service.
*You've heard about "Functional Programming" and you're wondering whether the techniques really work.
*You want to use a language that has been battle tested in real large-scale industrial products and that has great libraries and an user community.
*You don't want to wear your fingers out by typing lots of lines of code.
Can we do these things?In Section 20.3,Running SMP Erlang,On page 376,we'll look at some programs that have linear speed-ups when we run them on a thirty-two-core computer.In Chapter 18,Making a System with OTP,we'll look at how to make highly reliable systems that have been in round-the-clock operation for years.In Section 16.1,the Road to the Generic Server,on page 292,we'll talk about techniques for writting servers where the software can be upgraded without taking the server out of service.
In many places we'll be extolling the virtues of functional programming.Functional programming forbids code with side effects.Side effects and concurrency don't mix.You can have sequential code with side effects,or you can have code and concurrency that is free from side effects.You have to choose.There is no middle way.
Erlang is a language where concurrency belongs to the programming language and not the operating system.Erlang makes parallel programming easy by modeling the world as sets of parallel processes that can interact only by exhanging messages.In the Erlang world,there are parallel processes but no locks,no synchronized methods,and no posibility of shared memory corruption,there is no shared memory.
Erlang programs can be made from thousans to millions of extremely lightweight processes that can run on a single processor,can run on a multicore processor,or can run on a network of processors.
- Chapter 1 of Programming Erlang:begin
- The Practice of Programming Chapter One - Style
- Reading notes of 'The Art of Multiprocessor Programming' -- Chapter 1 & Appendix B
- 【读书笔记】"Programming Windows" (chapter 1)
- Intel-x86-System-Programming-Guide, Part 1,Chapter 2.1 OVERVIEW OF THE SYSTEM-LEVEL ARCHITECTURE
- Intel-x86-System-Programming-Guide, Part 1,Chapter 2.2 MODES OF OPERATION
- The C Programming Language——Exercise solutions of the chapter one (1st)
- Programming Erlang
- C++ primer 5 笔记1 chapter 1 begin
- begin linux programming
- begin linux programming
- Selected solutions to exercise of "The C Programming Language" 2e (Part 7, End of Chapter 1)
- Chapter 8 The Development of Computer Programming Languages
- Programming Windows (5th) Chapter 1: Notes
- Programming Microsoft Windows with Csharp. Chapter 1
- Boost.Asio C++ Network Programming(Chapter 1)
- Chapter 1 Object Oriented Programming (OOP)
- Beauty of Programming 1
- 毕业了,追梦!
- 毕业了,追梦!
- dwr 使用接口作方法的参数
- 开博第一篇,先介绍下偶的网站!
- BlazeDS集成Flex+Tomcat开发J2EE模块整合实例
- Chapter 1 of Programming Erlang:begin
- struts开发,Resouseproperties国际化资源无法保存分析及解决
- classloader总结
- 自己写的一个分页程序
- 自己写的一个分页程序
- .NET 执行 Parameter 形式sql语句时注意事项
- 初学存储过程
- 又是新的一天
- 通用读内存工具,可以用于游戏等数据查看。