Page 2 of 3

Re: Your languages?

Posted: Mon Jun 30, 2014 5:01 pm
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.

Re: Your languages?

Posted: Thu Jul 03, 2014 9:44 am
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.

Re: Your languages?

Posted: Fri Jul 04, 2014 11:56 am
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.

Re: Your languages?

Posted: Sat Jul 05, 2014 12:02 pm
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...)

Re: Your languages?

Posted: Mon Jul 14, 2014 4:36 pm
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

Re: Your languages?

Posted: Thu Jul 17, 2014 1:40 am
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.

Re: Your languages?

Posted: Thu Jul 17, 2014 1:47 am
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.

Re: Your languages?

Posted: Thu Jul 17, 2014 10:51 am
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.

Re: Your languages?

Posted: Wed Jul 30, 2014 2:18 pm
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!).

Re: Your languages?

Posted: Thu Jul 31, 2014 2:13 pm
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).

Re: Your languages?

Posted: Sun Aug 10, 2014 5:10 pm
by Roman
1. Assembly, own language (when the VM is completed).
2. C++, assembly (YASM).
3. Javascript.
4. Javascript, Python.

Re: Your languages?

Posted: Mon Aug 11, 2014 1:51 am
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.

Re: Your languages?

Posted: Thu Aug 14, 2014 12:39 pm
by Geri
c

Re: Your languages?

Posted: Thu Aug 14, 2014 1:48 pm
by iefbr14
  • C and ASM.
  • BLISS, but it is almost unusable today, so say Python.
  • Theoretically - BASIC, practically - Pascal
  • Python

Re: Your languages?

Posted: Sat Aug 16, 2014 1:32 pm
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.