KernelPanic·并发并行专题

Kernel Panic © Rio & Tao Wu

0x0d

//Canada:big villeage 因纽特人

//木遥带来的严重涨粉,美女级粉丝
4 < 5
===============================================================================先是回味了上一期的辉煌(如果还没有听请赶紧先去听),
然后聊了包括新 MacBook 在内的其它一些事情,
最后讨论了编程之中并发和并行的概念,相关的几种处理模型,以及异步模式。

GWT:Google Web Toolkit的缩写,有了 GWT可以使用 Java 编程语言编写 AJAX 前端,然后 GWT 会交叉编译到优化的JavaScript 中,而 JavaScript 可以自动在所有主要浏览器上运行。

The IT Crowd | 0118 999 881 999 119 7253

printf();

REPL:Read–eval–print loop

A read–eval–print loop (REPL), also known as an interactive toplevel or language shell, is a simple, interactive computer programming environment that takes single user inputs (i.e. single expressions), evaluates them, and returns the result to the user; a program written in a REPL environment is executed piecewise. The term is most usually used to refer to programming interfaces similar to the classic Lisp machine interactive environment. Common examples include command line shells and similar environments for programming languages.

iPython

笔记本工具
IPython provides a rich architecture for interactive computing with:

·  Powerful interactive shells (terminal and Qt-based).
·  A browser-based notebook with support for code, text, mathematical expressions, inline plots and other rich media.
·  Support for interactive data visualization and use of GUI toolkits.
·  Flexible, embeddable interpreters to load into your own projects.
·  Easy to use, high performance tools for parallel computing.

Pry 撬棍 http://pryrepl.org/

Pry is a powerful alternative to the standard IRB shell for Ruby. It features syntax highlighting, a flexible plugin architecture, runtime invocation and source and documentation browsing. 

Smalltalk

开发环境 Squeak:统一语法,惊为天人
http://www.squeak.org/

//剑鱼行动,编程行为的新定义
//解决抽象层次更高的问题
//重新定义抽象层级的学习方法
//计算机先驱们,音速已经太慢了

三进制计算机 Ternary Computer

A ternary computer (also called trinary computer) is a computer that uses ternary logic (three possible values) instead of the more common binary logic (two possible values) in its calculations.

Nim

·新出的语言,区分标识符的技术改进
·http://nim-lang.org/
·Nim (formerly known as "Nimrod") is a statically typed, imperative programming language that tries to give the programmer ultimate power without compromises on runtime efficiency. This means it focuses on compile-time mechanisms in all their various forms

Latest News:

1.Escape-key on keyboard of new macbook haven't change but bigger.
2.联想toyota处理器,与新款macbook处理器相同,性能跑ios模拟器待确认?
3.蝴蝶轴,键程极短[0-键程:虚拟键位]
    //剪刀脚,按到键位一边键盘斜着下去可能无法触发按键;受力回弹
    USB Typewriter长键程,真正打字机http://www.usbtypewriter.com/
4.ChromeBook Pixel:沙盒机制?64G SSD LTE Sim卡 两个usb type-c接口
    container里跑一个linux发行版
5.LTE+SSH,纯键盘窗口管理器; 

并发,并行,异步

//每添加一个术语公式,读者就会少一半,霍金
Rob Pike 关于并发的演讲幻灯片:Concurrency is not Parallelism
[href]http://concur.rspace.googlecode.com/hg/talk/concur.html#landing-slide
[Concurrency][并发][组织事务发生的逻辑]
    思维方式,没有先后顺序的依赖关系,逻辑。
    同一时间需要处理很多事情。
[Parallelism][并行][处理事务的备用逻辑]
    同时发生,物理时间。同一时间,同做很多事情。
[拓扑排序][关键路径]
[并发问题可以转换为并行问题]

Windows 3.2

windows 3.0
windows 3.2 是win3.1的简体中文版;
只要切得足够快,自己跟自己打乒乓球;
[big difference][2+ cores]
[GPU与CPU的计算模型][bit-coin mining]
非常尴尬的并行化解决问题。

Any[concurrency|parallelism]

多线程与多进程

——————more details we will mention——————————

http://zh.wikipedia.org/wiki/%E5%93%B2%E5%AD%A6%E5%AE%B6%E5%B0%B1%E9%A4%90%E9%97%AE%E9%A2%98

Dining philosophers problem
Actor Model
编程中的「副作用」
http://programmers.stackexchange.com/questions/40297/what-is-a-side-effect

Communicating Sequential Processes
http://zh.wikipedia.org/wiki/%E4%BA%A4%E8%AB%87%E5%BE%AA%E5%BA%8F%E7%A8%8B%E5%BC%8F

libuv http://docs.libuv.org/en/v1.x/

libuv is a multi-platform support library with a focus on asynchronous I/O. It was primarily developed for use by Node.js, but it’s also used by Luvit, Julia, pyuv, and others.

Seven Concurrency Models in Seven Weeks
https://pragprog.com/book/pb7con/seven-concurrency-models-in-seven-weeks

协程
http://en.wikipedia.org/wiki/Coroutine

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值