Add concurrency construct(s)
还没有人认领这个 Issue。
评估
调研方向
首先,将 issue 中描述的 futures、OpenMP-style annotations 和 Cilk-style spawn/sync 方法与 Less-Java 的语言和编译器结构进行比较。在实现之前,定义并发模型、安全规则、受影响的语法和语义以及验收测试,因为该 issue 目前没有指定任何文件、入口点或已完成的行为。
由索引模型根据 Issue 内容生成。
描述
It is becoming increasingly common in high-performance computing to hear assertions that CS education programs need to integrate concurrency and parallelism patterns throughout the curriculum, including even the intro courses.
There is perhaps some merit to these assertions; imagine how much easier parallel computing would be if students learned from the very beginning how to identify and express dependency-free computation. Some argue that this mode of programming is actually more intuitive ("perform action X on every element in this collection" is often inherently dependency-free) and that we lose something by forcing everyone to learn a procedural paradigm first, linearizing the computation unnecessarily.
However, it's unclear how best to integrate concurrency into a language like Less-Java without overly complicating the language or introducing major safety issues. Perhaps it could mean adding something similar to futures, which are already implemented in Java and thus could be relatively easy to add to Less-Java. Perhaps it could involve adding annotations that the compiler converts to threaded code, like OpenMP. Or maybe it's adding new language keywords like spawn / sync in Cilk. This is open future work.
- 主要语言
- Java
- 星标
- 6
- 派生
- 7
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
JMU-CS/less-java 的其他 Issue
-
cleanup help wanted
难度 1/5 1 小时以内 新手友好度 72/100
-
cleanup
难度 1/5 1 小时以内 新手友好度 45/100
-
cleanup enhancement
难度 5/5 一周以上 新手友好度 10/100
-
cleanup
难度 3/5 1-2 天 新手友好度 45/100
-
Add REPL未关闭enhancement
难度 5/5 一周以上 新手友好度 15/100
相似的 Issue
-
[Bug] The shared instance selector's placeholder and no-match text ignore the display language可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 90/100
apache/rocketmq-dashboard#5561 ·
维护者通常 3 天内回复
-
bug good first issue help wanted priority medium size S
难度 2/5 1-3 小时 新手友好度 84/100
martin-francois/symphony-trello#776 · 1 条评论 ·
维护者通常 1 天内回复
-
Console.printHex未关闭good first issue kernel
难度 2/5 1-3 小时 新手友好度 88/100
JackFurton/who-would-build-a-kernel-in-java#33 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
flutter/flutter-intellij#9137 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复