| <<O>> Difference Topic CodeExamples (r1.57 - 17 Jul 2005 - TWikiGuest) |
| Changed: | |
| < < | GraphParametricTypeExample: Generic implementations of graph algorithms from the Boost Graph Library - Breadth First Search, Dijkstra Shortest Paths, Prim's Minimum Spanning Tree, Bellman Ford Shortest Paths, Johnson All-Pairs Shortest Paths. Compare with C++, ML, Haskell, Eiffel, Java Generics, Generic C# implementations in "A Comparative Study of Language Support for Generic Programming". |
| > > | GraphParametricTypeExample: Generic implementations of graph algorithms from the Boost Graph Library - Breadth First Search, Dijkstra Shortest Paths, Prim's Minimum Spanning Tree, Bellman Ford Shortest Paths, Johnson All-Pairs Shortest Paths. Compare with C++, ML, Haskell, Eiffel, Java Generics, Generic C# implementations in "A Comparative Study of Language Support for Generic Programming". |
| <<O>> Difference Topic CodeExamples (r1.56 - 11 Apr 2005 - TWikiGuest) |
| Added: | |
| > > | BinarySearchTreeExample: a simple search tree, generic in both the key and value datatypes |
| <<O>> Difference Topic CodeExamples (r1.55 - 08 Mar 2005 - TWikiGuest) |
| Changed: | |
| < < | 化工泵 净化设备 稳压电源 初级会计师 留学签证 珠海生活 波峰焊 晶振 移动PC 视频点播 聊天室 消毒 越野车 电容器 电磁阀 类风湿 留学专家 首饰 晶体 内存 东莞生活 拓展训练 股票证券 留学中介 广告 电教 液晶屏 超声波 桌面 黑客帝国 挤出机 汽车租赁 消毒液 博天堂 投影仪 黄历 液晶显示器 温控器 动画 屏幕保护 白癜风 垫片 证券 电热膜 主机 户外 扑克 防火墙 肝硬化 注册税务师 广东生活 逆变电源 北京现代汽车 枫叶卡 资源库 风湿 脉管炎 汇款 电脑报价 西联 工作站 监控 广州生活 空间租用 信息化 螺丝 套管 外语 强直性脊柱炎 邮件系统 办公楼 胶粘剂 压力变送器 电线 铃声 皮具 星座 扣件 印花 工商注册 温度计 实验台 歌曲下载 文化 工业控制 雨伞 管理咨询公司 证卡打印机 液压件 注册 助剂 豆粕 胰岛素泵 电子元件 链条 流水线 防爆电机 水处理公司 水产品 紧固件 铸件 保健品 粉末涂料 文件柜 工装 隔离器 中药 手推车 光通信 喷涂设备 铸造 绿茶 宽带接入 计算机学校 工控 激光测距仪 清洗机 尖锐湿疣 网络布线 手电筒 读卡器 网络维护 数码管 栈板 蜂胶 打码机 思科 托盘 免费下载 野营用品 护肤 絮凝剂 色织布 护肤品 儿童玩具 人才招聘 旅游用品 减速电机 金属材料 不锈钢制品 癫痫 电视 电视剧 电工工具 电动摩托车 客车 抛光 黄页 磨床 洗地机 木门 圆珠笔 铜门 调节阀 搜索引擎 环境实验设备 塑料管材 呼吸机 节能 电解电容 网页 医疗 司法考试 结婚 防腐涂料 玻璃仪器 书店 光盘制作 医药 音乐网站 臭氧 网球 铁柜 医院管理 洗衣 致富信息 冠心病 保姆 报关 法语 散热片 毛巾 形象设计 |
| > > | |
| <<O>> Difference Topic CodeExamples (r1.54 - 27 Jan 2005 - LiYan) |
| Added: | |
| > > | 化工泵 净化设备 稳压电源 初级会计师 留学签证 珠海生活 波峰焊 晶振 移动PC 视频点播 聊天室 消毒 越野车 电容器 电磁阀 类风湿 留学专家 首饰 晶体 内存 东莞生活 拓展训练 股票证券 留学中介 广告 电教 液晶屏 超声波 桌面 黑客帝国 挤出机 汽车租赁 消毒液 博天堂 投影仪 黄历 液晶显示器 温控器 动画 屏幕保护 白癜风 垫片 证券 电热膜 主机 户外 扑克 防火墙 肝硬化 注册税务师 广东生活 逆变电源 北京现代汽车 枫叶卡 资源库 风湿 脉管炎 汇款 电脑报价 西联 工作站 监控 广州生活 空间租用 信息化 螺丝 套管 外语 强直性脊柱炎 邮件系统 办公楼 胶粘剂 压力变送器 电线 铃声 皮具 星座 扣件 印花 工商注册 温度计 实验台 歌曲下载 文化 工业控制 雨伞 管理咨询公司 证卡打印机 液压件 注册 助剂 豆粕 胰岛素泵 电子元件 链条 流水线 防爆电机 水处理公司 水产品 紧固件 铸件 保健品 粉末涂料 文件柜 工装 隔离器 中药 手推车 光通信 喷涂设备 铸造 绿茶 宽带接入 计算机学校 工控 激光测距仪 清洗机 尖锐湿疣 网络布线 手电筒 读卡器 网络维护 数码管 栈板 蜂胶 打码机 思科 托盘 免费下载 野营用品 护肤 絮凝剂 色织布 护肤品 儿童玩具 人才招聘 旅游用品 减速电机 金属材料 不锈钢制品 癫痫 电视 电视剧 电工工具 电动摩托车 客车 抛光 黄页 磨床 洗地机 木门 圆珠笔 铜门 调节阀 搜索引擎 环境实验设备 塑料管材 呼吸机 节能 电解电容 网页 医疗 司法考试 结婚 防腐涂料 玻璃仪器 书店 光盘制作 医药 音乐网站 臭氧 网球 铁柜 医院管理 洗衣 致富信息 冠心病 保姆 报关 法语 散热片 毛巾 形象设计 |
| <<O>> Difference Topic CodeExamples (r1.53 - 23 Jan 2005 - TWikiGuest) |
| <<O>> Difference Topic CodeExamples (r1.52 - 22 Jan 2005 - LiYan) |
| <<O>> Difference Topic CodeExamples (r1.51 - 09 Dec 2004 - MartinGamsjaeger) |
| Changed: | |
| < < | HelloSwingWorld : Shows how to write (a little more complex :-) helloworld program. SwingLibraryExample : Shows how to write a GUI program using the Swing Library. |
| > > | HelloSwingWorld : Shows how to write a graphical helloworld program |
| <<O>> Difference Topic CodeExamples (r1.50 - 22 Sep 2004 - TWikiGuest) |
| Changed: | |
| < < | FiboNoviceExample: Setup, compile and run Fibonnaci function. |
| > > | FiboNoviceExample: Setup, compile and run Fibonacci function. |
| <<O>> Difference Topic CodeExamples (r1.49 - 08 Jul 2004 - IsaacGouy) |
| Changed: | |
| < < | Download Language Shootout Examples 25 simple example programs (See The Great Win32 Computer Language Shootout ) |
| > > | Download Language Shootout Examples 25 simple example programs (See The Great Computer Language Shootout ) |
| Changed: | |
| < < | %META:FILEATTACHMENT{name="shootout.zip" attr="h" comment="" date="1082659572" path="I:\pls\Nice\nice web bench\shootout.zip" size="383537" user="IsaacGouy" version="1.2"}% |
| > > | %META:FILEATTACHMENT{name="shootout.zip" attr="h" comment="" date="1089315690" path="shootout.zip" size="327169" user="IsaacGouy" version="1.3"}% |
| <<O>> Difference Topic CodeExamples (r1.48 - 22 Apr 2004 - IsaacGouy) |
| Changed: | |
| < < | %META:FILEATTACHMENT{name="beginner.zip" attr="h" comment="" date="1073762123" path="I:\pls\Nice\nice web beginner\beginner.zip" size="16621" user="IsaacGouy" version="1.4"}% %META:FILEATTACHMENT{name="shootout.zip" attr="h" comment="" date="1074368381" path="I:\pls\Nice\nice web bench\shootout.zip" size="383602" user="IsaacGouy" version="1.1"}% |
| > > | %META:FILEATTACHMENT{name="beginner.zip" attr="h" comment="" date="1082660323" path="I:\pls\Nice\nice web\beginner.zip" size="20926" user="IsaacGouy" version="1.5"}% %META:FILEATTACHMENT{name="shootout.zip" attr="h" comment="" date="1082659572" path="I:\pls\Nice\nice web bench\shootout.zip" size="383537" user="IsaacGouy" version="1.2"}% |
| <<O>> Difference Topic CodeExamples (r1.47 - 27 Feb 2004 - IsaacGouy) |
| Deleted: | |
| < < | |
| Deleted: | |
| < < | |
| Changed: | |
| < < | PowerSeriesCspExample: |
| > > | PowerSeriesCspExample: Normally JCSP processes are defined, created; and then they are all started at the same time. In this case, we spawn new processes as needed while the other processes are running. See "Squinting at Power Series". |
| Added: | |
| > > | |
| <<O>> Difference Topic CodeExamples (r1.46 - 25 Feb 2004 - IsaacGouy) |
| Added: | |
| > > | PowerSeriesCspExample: |
| <<O>> Difference Topic CodeExamples (r1.45 - 25 Feb 2004 - IsaacGouy) |
| Added: | |
| > > | AspectOrientedMultiMethodExample: Nice multimethods provide capabilities similar to AOP static crosscutting. Here's the Nice version of the Email example listings in "AOP banishes the tight-coupling blues". |
| <<O>> Difference Topic CodeExamples (r1.44 - 24 Feb 2004 - IsaacGouy) |
| Changed: | |
| < < | SimpleProducerConsumerCspExample: Simple multithreaded programming using CSP primitives from the JSCP library. |
| > > | SimpleProducerConsumerCspExample: Simple multithreaded programming using CSP primitives from the JCSP library. |
| <<O>> Difference Topic CodeExamples (r1.43 - 24 Feb 2004 - IsaacGouy) |
| Added: | |
| > > |
CSP Concurrency ExamplesSimpleProducerConsumerCspExample: Simple multithreaded programming using CSP primitives from the JSCP library. |
| <<O>> Difference Topic CodeExamples (r1.42 - 17 Feb 2004 - IsaacGouy) |
| Changed: | |
| < < | RecursiveParametricTypeExample: |
| > > | RecursiveParametricTypeExample: Shapes within Shapes. |
| Added: | |
| > > |
User Interface ExamplesHelloSwtUserInterfaceExample: Simple SWT UI event handling (requires swt.jar). HelloSwingWorld : Shows how to write (a little more complex :-) helloworld program. SwingLibraryExample : Shows how to write a GUI program using the Swing Library. |
| Changed: | |
| < < |
Other examplesHelloSwingWorld : shows how to write (a little more complex :-) helloworld program. SwingLibraryExample : shows how to write a GUI program using the Swing Library. |
| > > |
Functional Programming Examples |
| <<O>> Difference Topic CodeExamples (r1.41 - 10 Feb 2004 - IsaacGouy) |
| Deleted: | |
| < < | AckermannNoviceExample: Setup, compile and run Ackermann's function. |
| Added: | |
| > > | ScissorsPaperRockNoviceExample: Setup, compile and run the Scissors Paper Rock multimethod implementation. |
| Changed: | |
| < < | VisitorPatternMultiMethodExample: We'd like to reuse and extend software without modification. There are two aspects: adding a new datatype, usable with existing operations; and adding new operations for existing datatypes. This example follows the discussion in "Synthesizing Object-Oriented and Functional Design to Promote Reuse" from Functional and OO (Composite Pattern) approaches, to the Visitor Pattern and Extensible Visitor Pattern; with the addition of a straightforward implementation using multimethods and open classes. |
| > > | FiniteStateMachineMultiMethodExample: A simple Finite State Machine encoded directly with multimethods. |
| Deleted: | |
| < < | FiniteStateMachineMultiMethodExample: A simple Finite State Machine encoded directly with multimethods. |
| Added: | |
| > > | VisitorPatternMultiMethodExample: We'd like to reuse and extend software without modification. There are two aspects: adding a new datatype, usable with existing operations; and adding new operations for existing datatypes. This example follows the discussion in "Synthesizing Object-Oriented and Functional Design to Promote Reuse" from Functional and OO (Composite Pattern) approaches, to the Visitor Pattern and Extensible Visitor Pattern; with the addition of a straightforward implementation using multimethods and open classes. |
| <<O>> Difference Topic CodeExamples (r1.40 - 07 Feb 2004 - IsaacGouy) |
| Changed: | |
| < < |
Type Parameter Examples |
| > > |
Parametric Type Examples |
| Changed: | |
| < < | NumberFiveTypeParameterExample?: Subtype constraints on type parameters < T | T <: double, int <: T > |
| > > | NumberFiveParametricTypeExample: Subtype constraints on type parameters < T | T <: double, int <: T > |
| Changed: | |
| < < | GenericProgrammingIntermediateExample?: Generic implementations of graph algorithms from the Boost Graph Library - Breadth First Search, Dijkstra Shortest Paths, Prim's Minimum Spanning Tree, Bellman Ford Shortest Paths, Johnson All-Pairs Shortest Paths. Compare with C++, ML, Haskell, Eiffel, Java Generics, Generic C# implementations in "A Comparative Study of Language Support for Generic Programming". |
| > > | RecursiveParametricTypeExample: |
| Changed: | |
| < < |
Java |
| > > |
GraphParametricTypeExample: Generic implementations of graph algorithms from the Boost Graph Library - Breadth First Search, Dijkstra Shortest Paths, Prim's Minimum Spanning Tree, Bellman Ford Shortest Paths, Johnson All-Pairs Shortest Paths. Compare with C++, ML, Haskell, Eiffel, Java Generics, Generic C# implementations in "A Comparative Study of Language Support for Generic Programming".
Java Reuse Examples |
| Changed: | |
| < < |
Benchmarks |
| > > |
Benchmark Examples |
| <<O>> Difference Topic CodeExamples (r1.39 - 07 Feb 2004 - IsaacGouy) |
| Changed: | |
| < < |
Examples for beginners |
| > > |
Type Parameter Examples |
| Changed: | |
| < < | NumberFiveBeginnerExample?: Subtype constraints on type parameters < T | T <: double, int <: T > |
| > > | NumberFiveTypeParameterExample?: Subtype constraints on type parameters < T | T <: double, int <: T > |
| Changed: | |
| < < | CollectionExample: How to use collections with generic types. |
| > > | GenericProgrammingIntermediateExample?: Generic implementations of graph algorithms from the Boost Graph Library - Breadth First Search, Dijkstra Shortest Paths, Prim's Minimum Spanning Tree, Bellman Ford Shortest Paths, Johnson All-Pairs Shortest Paths. Compare with C++, ML, Haskell, Eiffel, Java Generics, Generic C# implementations in "A Comparative Study of Language Support for Generic Programming". |
| Changed: | |
| < < |
Examples for intermediates |
| > > |
Java |
| Deleted: | |
| < < | GenericProgrammingIntermediateExample?: Generic implementations of graph algorithms from the Boost Graph Library - Breadth First Search, Dijkstra Shortest Paths, Prim's Minimum Spanning Tree, Bellman Ford Shortest Paths, Johnson All-Pairs Shortest Paths. Compare with C++, ML, Haskell, Eiffel, Java Generics, Generic C# implementations in "A Comparative Study of Language Support for Generic Programming". |
| Changed: | |
| < < |
Examples for benchmarkers |
| > > |
Benchmarks |
| Changed: | |
| < < |
More advanced examples |
| > > |
Other examples |
| <<O>> Difference Topic CodeExamples (r1.38 - 06 Feb 2004 - IsaacGouy) |
| Changed: | |
| < < | VisitorPatternMultiMethodExample: We'd like to reuse and extend software without modification. There are two aspects: adding a new datatype, usable with existing functions; and adding new functions for existing datatypes. This example follows the discussion in "Synthesizing Object-Oriented and Functional Design to Promote Reuse" from Functional and OO (Composite Pattern) approaches, to the Visitor Pattern and Extensible Visitor Pattern; with the addition of a straightforward implementation using multimethods and open classes. |
| > > | VisitorPatternMultiMethodExample: We'd like to reuse and extend software without modification. There are two aspects: adding a new datatype, usable with existing operations; and adding new operations for existing datatypes. This example follows the discussion in "Synthesizing Object-Oriented and Functional Design to Promote Reuse" from Functional and OO (Composite Pattern) approaches, to the Visitor Pattern and Extensible Visitor Pattern; with the addition of a straightforward implementation using multimethods and open classes. |
| <<O>> Difference Topic CodeExamples (r1.37 - 06 Feb 2004 - IsaacGouy) |
| Deleted: | |
| < < |
Download Novice and Beginner Examples
Download Language Shootout Examples 25 simple programs (See The Great Win32 Computer Language Shootout )
|
| Changed: | |
| < < |
Multi Method Examples |
| > > |
Download Language Shootout Examples 25 simple example programs (See The Great Win32 Computer Language Shootout )
Multimethod Examples |
| Changed: | |
| < < | VisitorMultiMethodExample?: details. |
| > > | VisitorPatternMultiMethodExample: We'd like to reuse and extend software without modification. There are two aspects: adding a new datatype, usable with existing functions; and adding new functions for existing datatypes. This example follows the discussion in "Synthesizing Object-Oriented and Functional Design to Promote Reuse" from Functional and OO (Composite Pattern) approaches, to the Visitor Pattern and Extensible Visitor Pattern; with the addition of a straightforward implementation using multimethods and open classes. |
| Changed: | |
| < < | BenderFsmMultiMethodExample?: Finite State Machine encoded with multi methods. |
| > > | FiniteStateMachineMultiMethodExample: A simple Finite State Machine encoded directly with multimethods. |
| <<O>> Difference Topic CodeExamples (r1.36 - 06 Feb 2004 - IsaacGouy) |
| Changed: | |
| < < | Download Language Shootout Examples (See The Great Win32 Computer Language Shootout ) |
| > > | Download Language Shootout Examples 25 simple programs (See The Great Win32 Computer Language Shootout ) |
| Added: | |
| > > | VisitorMultiMethodExample?: details. |
| Deleted: | |
| < < | HashBeginnerExample: HashMap with type parameter <String,Cell> ListsBeginnerExample: ArrayList with type parameter <int> |
| Deleted: | |
| < < | MethcallBeginnerExample: Define a class and subclass. ObjinstBeginnerExample: Import Nice classes from MethcallBeginnerExample. RandomBeginnerExample: Import a standard Java package. ShapesBeginnerExample: Alternative ways to define methods. SieveBeginnerExample: Type inference for array variable. StrcatBeginnerExample: Type inference for object variable. SpellcheckBeginnerExample: Anonymous functions help reduce boiler-plate code. MomentsBeginnerExample: Read numbers from a file and compute basic statistics. ProducerConsumerBeginnerExample: Simple producer consumer thread synchronization. GenericProgrammingBeginnerExample: Compare with C++, ML, Haskell, Eiffel, Java Generics, Generic C# implementations in "A Comparative Study of Language Support for Generic Programming". |
| Deleted: | |
| < < | WordfreqIntermediateExample: Read words from a file and compute word frequencies - generic HashMap and ArrayList, sort, local functions. ShapesIntermediateExample: Extend existing ShapesBeginnerExample classes to implement an abstract interface and new methods. |
| <<O>> Difference Topic CodeExamples (r1.35 - 02 Feb 2004 - IsaacGouy) |
| Added: | |
| > > | BinaryMethodsMultiMethodExample: Multi methods provide a straightforward solution to the problem of binary methods. |
| <<O>> Difference Topic CodeExamples (r1.34 - 30 Jan 2004 - IsaacGouy) |
| Added: | |
| > > | BuilderPatternMultiMethodExample: For performance testing, the Runabout project generates various styles of test code - Visitor, Test Case, Multi Java, Runabout etc. In Java, this kind of generator code is often written using the BuilderPattern; in Nice, multi methods provide a straightforward solution. |
| <<O>> Difference Topic CodeExamples (r1.33 - 29 Jan 2004 - IsaacGouy) |
| Added: | |
| > > |
Multi Method ExamplesBenderFsmMultiMethodExample?: Finite State Machine encoded with multi methods. |
| <<O>> Difference Topic CodeExamples (r1.32 - 17 Jan 2004 - IsaacGouy) |
| Added: | |
| > > | Download Language Shootout Examples (See The Great Win32 Computer Language Shootout ) |
| Added: | |
| > > | %META:FILEATTACHMENT{name="shootout.zip" attr="h" comment="" date="1074368381" path="I:\pls\Nice\nice web bench\shootout.zip" size="383602" user="IsaacGouy" version="1.1"}% |
| <<O>> Difference Topic CodeExamples (r1.31 - 10 Jan 2004 - IsaacGouy) |
| Changed: | |
| < < | %META:FILEATTACHMENT{name="beginner.zip" attr="h" comment="Download Novice and Beginner Example Code" date="1073748363" path="I:\pls\Nice\nice web beginner\beginner.zip" size="16572" user="IsaacGouy" version="1.1"}% |
| > > | %META:FILEATTACHMENT{name="beginner.zip" attr="h" comment="" date="1073762123" path="I:\pls\Nice\nice web beginner\beginner.zip" size="16621" user="IsaacGouy" version="1.4"}% |
| <<O>> Difference Topic CodeExamples (r1.30 - 10 Jan 2004 - IsaacGouy) |
| Deleted: | |
| < < | |
| Added: | |
| > > |
Download Novice and Beginner Examples |
| Added: | |
| > > | %META:FILEATTACHMENT{name="beginner.zip" attr="h" comment="Download Novice and Beginner Example Code" date="1073748363" path="I:\pls\Nice\nice web beginner\beginner.zip" size="16572" user="IsaacGouy" version="1.1"}% |
| <<O>> Difference Topic CodeExamples (r1.29 - 07 Jan 2004 - IsaacGouy) |
| Changed: | |
| < < | GenericProgrammingBeginnerExample: Compare with C++, ML, Haskell, Eiffel, Java Generics, Generic C# implementations in A Comparative Study of Language Support for Generic Programming. |
| > > | GenericProgrammingBeginnerExample: Compare with C++, ML, Haskell, Eiffel, Java Generics, Generic C# implementations in "A Comparative Study of Language Support for Generic Programming". |
| Changed: | |
| < < | GenericProgrammingIntermediateExample?: Compare with C++, ML, Haskell, Eiffel, Java Generics, Generic C# implementations in A Comparative Study of Language Support for Generic Programming. |
| > > | GenericProgrammingIntermediateExample?: Generic implementations of graph algorithms from the Boost Graph Library - Breadth First Search, Dijkstra Shortest Paths, Prim's Minimum Spanning Tree, Bellman Ford Shortest Paths, Johnson All-Pairs Shortest Paths. Compare with C++, ML, Haskell, Eiffel, Java Generics, Generic C# implementations in "A Comparative Study of Language Support for Generic Programming". |
| <<O>> Difference Topic CodeExamples (r1.28 - 07 Jan 2004 - IsaacGouy) |
| Added: | |
| > > | GenericProgrammingIntermediateExample?: Compare with C++, ML, Haskell, Eiffel, Java Generics, Generic C# implementations in A Comparative Study of Language Support for Generic Programming. |
| <<O>> Difference Topic CodeExamples (r1.27 - 28 Dec 2003 - IsaacGouy) |
| Changed: | |
| < < | GenericProgrammingBeginnerExample: Simple example from A Comparative Study of Language Support for Generic Programming. |
| > > | GenericProgrammingBeginnerExample: Compare with C++, ML, Haskell, Eiffel, Java Generics, Generic C# implementations in A Comparative Study of Language Support for Generic Programming. |
| <<O>> Difference Topic CodeExamples (r1.26 - 28 Dec 2003 - IsaacGouy) |
| Added: | |
| > > | GenericProgrammingBeginnerExample: Simple example from A Comparative Study of Language Support for Generic Programming. |
| <<O>> Difference Topic CodeExamples (r1.25 - 11 Oct 2003 - IsaacGouy) |
| Added: | |
| > > | NumberFiveBeginnerExample?: Subtype constraints on type parameters < T | T <: double, int <: T > |
| Deleted: | |
| < < | NumberFiveBeginnerExample?: Type inference for object variable. |
| <<O>> Difference Topic CodeExamples (r1.24 - 11 Oct 2003 - IsaacGouy) |
| Added: | |
| > > | NumberFiveBeginnerExample?: Type inference for object variable. |
| <<O>> Difference Topic CodeExamples (r1.23 - 19 Sep 2003 - IsaacGouy) |
| Changed: | |
| < < | BenchIntermediateExample: Martin Richards systems language benchmark Bench, written in an ordinary OO style. PacketBenchExample declares enums, TcbBenchExample uses a class initializer, SchedulerBenchExample misuses enum.hashCode, TaskBenchExample declares an interface. "Benchmarking Java with the Richards benchmark" provides some background information. |
| > > |
MethcallIntermediateTwoExample: Define a Nice class NiceToggleExample and subclass it in Java - compare with MethcallBeginnerExample.
Examples for benchmarkers |
| Changed: | |
| < < | MethcallIntermediateTwoExample: Define a Nice class NiceToggleExample and subclass it in Java - compare with MethcallBeginnerExample. |
| > > | DispatchIntermediateExample: Benchmark comparison between typecase and double-dispatch in Java, and multiple dispatch in Nice. BenchIntermediateExample: Martin Richards systems language benchmark Bench, written in an ordinary OO style. PacketBenchExample declares enums, TcbBenchExample uses a class initializer, SchedulerBenchExample misuses enum.hashCode, TaskBenchExample declares an interface. "Benchmarking Java with the Richards benchmark" provides some background information. |
| <<O>> Difference Topic CodeExamples (r1.22 - 17 Sep 2003 - IsaacGouy) |
| Added: | |
| > > | ProducerConsumerBeginnerExample: Simple producer consumer thread synchronization. |
| <<O>> Difference Topic CodeExamples (r1.21 - 17 Sep 2003 - IsaacGouy) |
| Changed: | |
| < < | ShapesIntermediateExample: Extend existing ShapesBeginnerExample classes to implement an abstract interface and new methods. MethcallIntermediateExample: Define a Java class JavaToggleExample and subclass it in Nice - compare with MethcallBeginnerExample. MethcallIntermediateTwoExample: Define a Nice class NiceToggleExample and subclass it in Java - compare with MethcallBeginnerExample. |
| > > | MethcallIntermediateExample: Define a Java class JavaToggleExample and subclass it in Nice, compile Nice using classes in a Java jar, setup a Nice executable archive classpath to find a Java jar - compare with MethcallBeginnerExample. |
| Added: | |
| > > | ShapesIntermediateExample: Extend existing ShapesBeginnerExample classes to implement an abstract interface and new methods. |
| Added: | |
| > > | MethcallIntermediateTwoExample: Define a Nice class NiceToggleExample and subclass it in Java - compare with MethcallBeginnerExample. |
| <<O>> Difference Topic CodeExamples (r1.20 - 17 Sep 2003 - IsaacGouy) |
| Changed: | |
| < < | RandomBeginnerExample: Import Java package. |
| > > | RandomBeginnerExample: Import a standard Java package. |
| <<O>> Difference Topic CodeExamples (r1.19 - 05 Sep 2003 - IsaacGouy) |
| Changed: | |
| < < | TreeVisitorIntermediateExample: Simple binary tree extended with 3 different external methods and a subclass representing n-ary trees in ExtendedTreeVisitorIntermediateExample - subclassing a parametric class. A benchmark comparison between the Java extensible visitor pattern and modular extension. |
| > > | TreeVisitorIntermediateExample: Benchmark comparison between the Java Extensible Visitor pattern and modular extension in Nice. Simple generic binary tree TreeVisitorClassesIntermediateExample extended with a subclass representing n-ary trees, and with 3 different external methods. |
| <<O>> Difference Topic CodeExamples (r1.18 - 05 Sep 2003 - IsaacGouy) |
| Added: | |
| > > | TreeVisitorIntermediateExample: Simple binary tree extended with 3 different external methods and a subclass representing n-ary trees in ExtendedTreeVisitorIntermediateExample - subclassing a parametric class. A benchmark comparison between the Java extensible visitor pattern and modular extension. |
| <<O>> Difference Topic CodeExamples (r1.17 - 03 Sep 2003 - DuncanLissett) |
| Changed: | |
| < < | BenchIntermediateExample: Martin Richards systems language benchmark Bench, written in an ordinary OO style. PacketBenchExample declares enums, TcbBenchExample uses a class initializer, SchedulerBenchExample uses enum.hashCode, TaskBenchExample declares an interface. "Benchmarking Java with the Richards benchmark" provides some background information. |
| > > | BenchIntermediateExample: Martin Richards systems language benchmark Bench, written in an ordinary OO style. PacketBenchExample declares enums, TcbBenchExample uses a class initializer, SchedulerBenchExample misuses enum.hashCode, TaskBenchExample declares an interface. "Benchmarking Java with the Richards benchmark" provides some background information. |
| <<O>> Difference Topic CodeExamples (r1.16 - 02 Sep 2003 - DuncanLissett) |
| Added: | |
| > > | BenchIntermediateExample: Martin Richards systems language benchmark Bench, written in an ordinary OO style. PacketBenchExample declares enums, TcbBenchExample uses a class initializer, SchedulerBenchExample uses enum.hashCode, TaskBenchExample declares an interface. "Benchmarking Java with the Richards benchmark" provides some background information. |
| <<O>> Difference Topic CodeExamples (r1.15 - 31 Aug 2003 - IsaacGouy) |
| Added: | |
| > > | WordfreqIntermediateExample: Read words from a file and compute word frequencies - generic HashMap and ArrayList, sort, local functions. |
| <<O>> Difference Topic CodeExamples (r1.14 - 30 Aug 2003 - IsaacGouy) |
| Added: | |
| > > | MethcallIntermediateExample: Define a Java class JavaToggleExample and subclass it in Nice - compare with MethcallBeginnerExample. MethcallIntermediateTwoExample: Define a Nice class NiceToggleExample and subclass it in Java - compare with MethcallBeginnerExample. |
| <<O>> Difference Topic CodeExamples (r1.13 - 29 Aug 2003 - IsaacGouy) |
| Added: | |
| > > | ShapesBeginnerExample: Alternative ways to define methods. |
| Added: | |
| > > |
Examples for intermediatesShapesIntermediateExample: Extend existing ShapesBeginnerExample classes to implement an abstract interface and new methods. |
| <<O>> Difference Topic CodeExamples (r1.12 - 29 Aug 2003 - IsaacGouy) |
| Added: | |
| > > | MomentsBeginnerExample: Read numbers from a file and compute basic statistics. |
| <<O>> Difference Topic CodeExamples (r1.11 - 27 Aug 2003 - IsaacGouy) |
| Changed: | |
| < < |
Examples for beginners |
| > > |
Examples for novices |
| Changed: | |
| < < | HelloWorldBeginnerExample?: Setup, compile and run Hello World. |
| > > | HelloWorldNoviceExample: Setup, compile and run Hello World. |
| Changed: | |
| < < | AckermannBeginnerExample?: Setup, compile and run Ackermann's function. |
| > > | AckermannNoviceExample: Setup, compile and run Ackermann's function. |
| Changed: | |
| < < | FiboBeginnerExample?: Setup, compile and run Fibonnaci function. |
| > > | FiboNoviceExample: Setup, compile and run Fibonnaci function. |
| Changed: | |
| < < |
Examples for novices |
| > > |
Examples for beginners |
| Changed: | |
| < < | HashNoviceExample?: HashMap with type parameter <String,Cell> |
| > > | HashBeginnerExample: HashMap with type parameter <String,Cell> |
| Changed: | |
| < < | ListsNoviceExample?: ArrayList with type parameter <int> |
| > > | ListsBeginnerExample: ArrayList with type parameter <int> |
| Changed: | |
| < < | MethcallNoviceExample?: Define a class and subclass. |
| > > | MethcallBeginnerExample: Define a class and subclass. |
| Changed: | |
| < < | ObjinstNoviceExample?: Import Nice classes from MethcallNoviceExample?. |
| > > | ObjinstBeginnerExample: Import Nice classes from MethcallBeginnerExample. |
| Changed: | |
| < < | RandomNoviceExample?: Import Java package. |
| > > | RandomBeginnerExample: Import Java package. |
| Changed: | |
| < < | SieveNoviceExample?: Type inference for array variable. |
| > > | SieveBeginnerExample: Type inference for array variable. |
| Changed: | |
| < < | StrcatNoviceExample?: Type inference for object variable. |
| > > | StrcatBeginnerExample: Type inference for object variable. |
| Changed: | |
| < < | SpellcheckNoviceExample?: Anonymous functions help reduce boiler-plate code. |
| > > | SpellcheckBeginnerExample: Anonymous functions help reduce boiler-plate code. |
| <<O>> Difference Topic CodeExamples (r1.10 - 27 Aug 2003 - IsaacGouy) |
| Added: | |
| > > | SpellcheckNoviceExample?: Anonymous functions help reduce boiler-plate code. |
| <<O>> Difference Topic CodeExamples (r1.9 - 27 Aug 2003 - DanielBonniot) |
| Changed: | |
| < < | Please create a specific page for each example. Its WikiWord should end with the word Example, like the following: |
| > > | Please create a specific page for each example. Its WikiWord should end with the word Example. |
| Changed: | |
| < < | HelloWorld: the classic one |
| > > |
Examples for beginners |
| Changed: | |
| < < | HelloSwingWorld : shows how to write (a little more complex :-) helloworld program. SwingLibraryExample : shows how to write a GUI program using the Swing Library. HaskellPreludeExample: Selected parts of the Haskell prelude, lots of functions which are useful when programming in functional style. LazyVectorExample: A Vector subclass which computes its elements as they are they requested. CollectionExample: How to use collections with generic types. |
| > > | HelloWorldBeginnerExample?: Setup, compile and run Hello World. |
| Deleted: | |
| < < | HelloWorldBeginnerExample?: Setup, compile and run Hello World. |
| Added: | |
| > > |
Examples for novices |
| Added: | |
| > > |
CollectionExample: How to use collections with generic types.
More advanced examplesHelloSwingWorld : shows how to write (a little more complex :-) helloworld program. SwingLibraryExample : shows how to write a GUI program using the Swing Library. HaskellPreludeExample: Selected parts of the Haskell prelude, lots of functions which are useful when programming in functional style. LazyVectorExample: A Vector subclass which computes its elements as they are they requested. |
| <<O>> Difference Topic CodeExamples (r1.8 - 27 Aug 2003 - IsaacGouy) |
| Changed: | |
| < < | AckermannBeginnerExample?: Ackermann's function test from the Language Shootout. |
| > > | AckermannBeginnerExample?: Setup, compile and run Ackermann's function. |
| Changed: | |
| < < | HelloWorldBeginnerExample?: Hello World test from the Language Shootout. |
| > > | HelloWorldBeginnerExample?: Setup, compile and run Hello World. |
| Changed: | |
| < < | FiboBeginnerExample?: Fibonnaci function test from the Language Shootout. |
| > > | FiboBeginnerExample?: Setup, compile and run Fibonnaci function. |
| Changed: | |
| < < | HashNoviceExample?: Hash2 test from the Language Shootout. |
| > > | HashNoviceExample?: HashMap with type parameter <String,Cell> ListsNoviceExample?: ArrayList with type parameter <int> MethcallNoviceExample?: Define a class and subclass. ObjinstNoviceExample?: Import Nice classes from MethcallNoviceExample?. RandomNoviceExample?: Import Java package. SieveNoviceExample?: Type inference for array variable. StrcatNoviceExample?: Type inference for object variable. |
| <<O>> Difference Topic CodeExamples (r1.7 - 26 Aug 2003 - IsaacGouy) |
| Added: | |
| > > | HashNoviceExample?: Hash2 test from the Language Shootout. |
| <<O>> Difference Topic CodeExamples (r1.6 - 26 Aug 2003 - IsaacGouy) |
| Changed: | |
| < < | AckermannExample?: Ackermann's Function test from the Language Shootout. |
| > > | AckermannBeginnerExample?: Ackermann's function test from the Language Shootout. HelloWorldBeginnerExample?: Hello World test from the Language Shootout. FiboBeginnerExample?: Fibonnaci function test from the Language Shootout. |
| <<O>> Difference Topic CodeExamples (r1.5 - 26 Aug 2003 - IsaacGouy) |
| Added: | |
| > > | AckermannExample?: Ackermann's Function test from the Language Shootout. |
| <<O>> Difference Topic CodeExamples (r1.4 - 06 Jun 2003 - DanielBonniot) |
| Added: | |
| > > | CollectionExample: How to use collections with generic types. |
| <<O>> Difference Topic CodeExamples (r1.3 - 30 May 2003 - DanielBonniot) |
| Added: | |
| > > | HelloWorld: the classic one |
| <<O>> Difference Topic CodeExamples (r1.2 - 11 Feb 2003 - TWikiGuest) |
| Changed: | |
| < < | Please create a specific page for each example. Its WikiWord? should end with the word Example, like the following: |
| > > | Please create a specific page for each example. Its WikiWord should end with the word Example, like the following: |
| <<O>> Difference Topic CodeExamples (r1.1 - 30 Jan 2003 - TWikiGuest) |
| Added: | |
| > > | %META:TOPICINFO{author="guest" date="1043885040" format="1.0" version="1.1"}% %META:TOPICPARENT{name="WebHome"}% This section is a repository for code fragments and programs, for illustration purposes. Please create a specific page for each example. Its WikiWord? should end with the word Example, like the following: HelloSwingWorld : shows how to write (a little more complex :-) helloworld program. SwingLibraryExample : shows how to write a GUI program using the Swing Library. HaskellPreludeExample: Selected parts of the Haskell prelude, lots of functions which are useful when programming in functional style. LazyVectorExample: A Vector subclass which computes its elements as they are they requested. |
| Topic CodeExamples . { View | Diffs | r1.57 | > | r1.56 | > | r1.55 | More } |
|
Revision r1.1 - 30 Jan 2003 - 00:04 GMT - TWikiGuest Revision r1.57 - 17 Jul 2005 - 09:45 GMT - TWikiGuest |
Copyright © 1999-2003 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding TWiki? Send feedback. |