Your languages?

Programming, for all ages and all languages.
User avatar
narke
Member
Member
Posts: 119
Joined: Wed Dec 26, 2007 3:37 am
Location: France

Re: Your languages?

Post by narke »

1. Which language is, do you use to develop OS?
C and asm.
2. Which is your favorite language?
From low to high level: Asm, C, Forth & ColorForth, Python, Standard ML, Erlang, Shen.
3. Which was your first language?
I seriously studied motorola 68k asm and C in parallel.
Before that I tried Tcl/Tk a little bit and also tried to theoretically understand x86 assembly.
4. What do you think, Which language is easiest?
Python, Assembly and Forth.
I think that these are the less messy languages a newbie can pick up.
OS for PowerPC Macs: https://github.com/narke/Einherjar
Operating system: colorForth computing environment for x86.: https://github.com/narke/Roentgenium
User avatar
Schol-R-LEA
Member
Member
Posts: 1925
Joined: Fri Oct 27, 2006 9:42 am
Location: Athens, GA, USA

Re: Your languages?

Post by Schol-R-LEA »

1. Which language is, do you use to develop OS?
I am not yet working on it, as I am still designing the language and both the assembler and compiler in question. The Assiah assembler for the x86-64 will use a Lisp-flavored assembly syntax and a full macro system similar to those in Common Lisp, and a system of assembler/compiler extensions. The HLL I mean to use, Thelema, is a Lisp which will be implemented in Assiah as macro and compiler extensions.
2. Which is your favorite language?
Of existing languages, Scheme.
3. Which was your first language?
Prime BASIC.
4. What do you think, Which language is easiest?
Scheme.
Rev. First Speaker Schol-R-LEA;2 LCF ELF JAM POEE KoR KCO PPWMTF
Ordo OS Project
Lisp programmers tend to seem very odd to outsiders, just like anyone else who has had a religious experience they can't quite explain to others.
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Re: Your languages?

Post by neon »

1. Which language is, do you use to develop OS?
C with a custom tool chain and x86 assembly language.

2. Which is your favorite language?
Don't really have one. I prefer C for its simplicity however also like the design of Scheme. With regards to C++, given current standards it is clear that the language grammar is showing its age as more keywords and awkward syntax to introduce new features (the lambda syntax is horrific in terms of language grammar design IMO) make it a close second given its extensive standard library support.

3. Which was your first language?
C++; although I do not recommend it as a first language of choice.

4. What do you think, Which language is easiest?
None; everyone is different. It is more important to realize that programming languages are tools; the easiest is whatever is best for the current project at hand and the target audience. That is, if the language target is beginner developers in school, I would claim scripting languages or fourth generation languages might suffice. However future developers should get a foundation in the mathematical and formal structures of languages and dive right in to a more advanced language like C. If the target is prototyping, scripting languages or VHLLs might be a good choice.
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
User avatar
BASICFreak
Member
Member
Posts: 284
Joined: Fri Jan 16, 2009 8:34 pm
Location: Louisiana, USA

Re: Your languages?

Post by BASICFreak »

1. Which language is, do you use to develop OS?
Primary C with Intel ASM where needed or beneficial
2. Which is your favorite language?
Honestly PHP or Java (a I don't have to think as much), but C is starting to surpass them...
3. Which was your first language?
QuickBASIC
4. What do you think, Which language is easiest?
QBASIC is the easiest in my opinion but it is also very limited.
For a beginner I would recommend JAVA or PHP to learn some syntax and logic in an environment that will not frustrate them too much, as you do not have to worry about how to make a window or load an image it has the tools there to do it.


[sidenote]
I started writing my OS to learn more about C (as I only knew the structure) and to learn ASM (never before used period)
In the process I have learned way more than I expected, And C is differently in the top 3 languages for me now.

And I still cannot keep the stack clean in ASM... lol (in fact for some strange reason I Have to pop ax where there should be nothing on the stack in my bootsector for it to work... Or maybe I just don't see it...)
BOS Source Thanks to GitHub
BOS Expanded Commentary
Both under active development!
Sortie wrote:
  • Don't play the role of an operating systems developer, be one.
  • Be truly afraid of undefined [behavior].
  • Your operating system should be itself, not fight what it is.
Peterbjornx
Member
Member
Posts: 116
Joined: Thu May 06, 2010 4:34 am
Libera.chat IRC: peterbjornx
Location: Leiden, The Netherlands
Contact:

Re: Your languages?

Post by Peterbjornx »

1. Which language is, do you use to develop OS?
C, Assembler (NASM dialect), Shellscripts (for some userland ****)
2. Which is your favorite language?
C, Java
3. Which was your first language?
QBASIC, after that i went straight on to C
4. What do you think, Which language is easiest?
A procedural BASIC (such as QuickBASIC), although i would not reccommend anyone to go for an easy language
User avatar
Muazzam
Member
Member
Posts: 543
Joined: Mon Jun 16, 2014 5:59 am
Location: Shahpur, Layyah, Pakistan

Re: Your languages?

Post by Muazzam »

Peterbjornx wrote:1. Which language is, do you use to develop OS?
C, Assembler (NASM dialect), Shellscripts (for some userland ****)
2. Which is your favorite language?
C, Java
3. Which was your first language?
QBASIC, after that i went straight on to C
4. What do you think, Which language is easiest?
A procedural BASIC (such as QuickBASIC), although i would not reccommend anyone to go for an easy language
You said 'Assembler', that is not correct. Please say Assembly.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Your languages?

Post by Combuster »

dictionary.com wrote:assembler as·sem·bler /əˈsɛmblər/
noun
(...)
a. Also called assembly routine. a language processor that translates symbolic assembly language into equivalent machine language.
b. assembly language.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
zhiayang
Member
Member
Posts: 368
Joined: Tue Dec 27, 2011 7:57 am
Libera.chat IRC: zhiayang

Re: Your languages?

Post by zhiayang »

Eh I'll fling myself onto the bandwagon of sorts.

1. I started my OS in C, then I slowly changed everything to C++, before doing a fresh rewrite in C++.
2. I don't have a favourite language... Java comes closest to a 'favourite'. I'll talk about this below I guess.
3. I started with C# (indeed, I used the COSMOS framework do write a crappy OS in C#), before learning C, Java then C++. (in that order)
4. IMO, while I'm not fond of dynamically typed languages like all the web languages, they are arguably the easiest to learn. I'll rant about this below as well.


Rant #1: (for Q2)
I'm 'most comfortable' doing Java, followed by C++. Unfortunately, neither are my favourite language. Mostly because I rarely do application work, most of my programming is OSDev. Unfortunately, Java thus isn't very practical for my use. It also involves a lot of boilerplate...
C++ on the other hand is what I have to work with, but what I dislike most is probably the syntax - templates, followed by the '::' thing, then the whole '->' vs '.' distinction.

EDIT: Actually, the worst thing is probably the entire header file deal, followed by templates, then the entire inheritance thing. Virtual inheritance? function() = 0? little to no compile-time checking about those things.



The above are general purpose languages; my favourite language will probably be Swift. Looks good, syntax is refined, and the concept of optionals, while not new (I don't know how long boost::optional existed for, but my first exposure was via Kotlin), is well implemented (well the syntax is basically identical to Kotlin's). Generics are also well done (IIRC they said the type information is saved with the type, accessible during runtime?).

But it's not exactly suitable for OSDev for obvious purposes.


Rant #2:
IMHO, I'd rather start learning C or C#. It's not good to breed a generation of programmers who only know about 'var' types, not knowing about integer division and other things like that. On the other hand, dynamically typed languages are of course easier to learn -- for that I'd say python is decent for a first language in that department.
no92
Member
Member
Posts: 307
Joined: Wed Oct 30, 2013 1:57 pm
Libera.chat IRC: no92
Location: Germany
Contact:

Re: Your languages?

Post by no92 »

1. Which language is, do you use to develop OS?
Assembly, C, and my own language I'm working on right now
2. Which is your favorite language?
Hard to tell, but I like Ruby, PHP and my own one.
3. Which was your first language?
JavaScript (HTML5) and PHP5 (I started only 3 years ago!)
4. What do you think, Which language is easiest?
Ruby or Python, depends on which one you like more (Ruby FTW!).
madanra
Member
Member
Posts: 149
Joined: Mon Sep 07, 2009 12:01 pm

Re: Your languages?

Post by madanra »

muazzam wrote:I have simple questions:
1. Which language is, do you use to develop OS?
2. Which is your favorite language?
3. Which was your first language?
4. What do you think, Which language is easiest?
1. Currently assembly. I will need to branch out at some point!
2. For applications, C#; for scripting, Python.
3. QBasic
4. For ease of use, same as (2).
User avatar
Roman
Member
Member
Posts: 568
Joined: Thu Mar 27, 2014 3:57 am
Location: Moscow, Russia
Contact:

Re: Your languages?

Post by Roman »

1. Assembly, own language (when the VM is completed).
2. C++, assembly (YASM).
3. Javascript.
4. Javascript, Python.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
- Alan Kay
User avatar
SoLDMG
Member
Member
Posts: 96
Joined: Wed Jul 23, 2014 8:00 am
Location: The Netherlands
Contact:

Re: Your languages?

Post by SoLDMG »

1) C and Assembly (NASM)
2) C all the way. I personally think it's great.
3) My first really usable language was TI-BASIC.
4) Mainly any simple type of BASIC.
My post is up there, not down here.
User avatar
Geri
Member
Member
Posts: 442
Joined: Sun Jul 14, 2013 6:01 pm

Re: Your languages?

Post by Geri »

c
Operating system for SUBLEQ cpu architecture:
http://users.atw.hu/gerigeri/DawnOS/download.html
iefbr14
Posts: 4
Joined: Tue Aug 12, 2014 10:42 pm

Re: Your languages?

Post by iefbr14 »

  • C and ASM.
  • BLISS, but it is almost unusable today, so say Python.
  • Theoretically - BASIC, practically - Pascal
  • Python
User avatar
Wajideu
Member
Member
Posts: 153
Joined: Wed Jul 30, 2014 1:05 am

Re: Your languages?

Post by Wajideu »

1. Which language is, do you use to develop OS?
C and x86 asm
2. Which is your favorite language?
C#. It's just clean and elegant. The one thing Microsoft did right.
3. Which was your first language?
If it's about fluency, then Z80 assembly, otherwise it was GML (Game Maker Language)
4. What do you think, Which language is easiest?
Definitely C#. No header files, no messy makefiles or configuration scripts, fast compilation time, very easy to debug, very good ide's, and a very well structured standard library.
Post Reply