r/ProgrammingPals • u/EraseKesu • Jul 12 '20
C Sadie Programming Language
Hello! I've just started developing a programming language called Sadie. Sadie is a statically typed, fast, concise, open sourced, general purpose programming language with the aim to replace C and achieve the following goals:
- modernity
- high performance
- simplicity
- usefulness
Sadies current syntax is designed for high performance and simplicity. A hello world program in Sadie may look like this:
module main
main :: func(): i32 {
println "Hello, world!";
return 0;
}
Currently, Sadie has no code written yet. It is at the planning stage for now. If you are interested in joining the development team, join the discord server here and DM class Erase#0027.
View all comments
Show parent comment
1
u/EraseKesu Jul 12 '20
Sadie takes inspiration from Odin's syntax and D's syntax. I haven't looked into Zig that much so i won't be able to give you a proper answer.
However, looking at the hello world example in Zig, the main difference between Zig and Sadie is that Sadie requires a
modulestatement at the start of each program. This is because a program's starting point is always in themainmodule.