Random Homebrew: PSPokemon
a Pokemon clone.
Friends: Coding 'n Cracking - Nymphaea - PS3 Forum - darkforestgroup - daxhordes.org - Tgames - coldbird - gopsp.it - pspstation.org - prometheus - hgoel.info - MakeSmartTV - ps vita

How are Development Kits for portables made?

Discuss about your favorite (gaming...or not) devices here. The most popular ones will end up getting their own categories
Programming discussions for your favorite Device

Re: How are Development Kits for portables made?

Postby 10$man » Wed May 09, 2012 7:11 pm

------

I understand what you mean, but I still am sure that I said it exactly how I meant it.
I am not talking about C.
I am talking about a language that is based of C.
Thus the Compiler would not a be a C compiler.
Since we don't know what language it is, we only know that it's based of C, it would be logical to say a C based compiler.
A Compiler based of C would be just as acceptable because we're not talking about a specific compiler.



I know your a smart person, and I don't think this argument is of much use to either of us. I feel like your just misunderstanding what I am trying to say.
10$man
 
Posts: 53
Joined: Thu Feb 03, 2011 9:18 pm

Re: How are Development Kits for portables made?

Postby Xian Nox » Wed May 09, 2012 10:37 pm

10$man wrote:Since we don't know what language it is, we only know that it's based of C, it would be logical to say a C based compiler.
I got what you mean, but I think it would be more accurate to call it an unknown C-based language compiler.
Spoiler
Disturbed0ne wrote:PS. EVERYONE should like girls. they're just so soft. :oops:
Moderator 80% corrupt. That's funny, I don't feel corrupt. In fact, I feel pretty good.
What looks like a blog of mine can be seen here.
User avatar
Xian Nox
Moderator
 
Posts: 6026
Joined: Fri Nov 05, 2010 5:27 pm
Location: /home/xian/n-field

Re: How are Development Kits for portables made?

Postby Nickolas » Thu May 10, 2012 10:57 am

This thread is becoming a bit funny :lol: I think he means a language with the same syntax/grammar with C. A brand new language.
Image
Image
Image
Image
Nickolas
 
Posts: 382
Joined: Sat Jan 22, 2011 3:14 pm
Location: In a black hole...

Re: How are Development Kits for portables made?

Postby m0skit0 » Thu May 10, 2012 12:02 pm

Oh ok, I understand now. You should have said it like Xian Nox points out.

Why would you invent a new language based on C? What are the benefits, aka, why would you do so? And anyway, you would have to translate it into machine code at the end, no matter what intermediate language(s) you're using.
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
User avatar
m0skit0
Guru
 
Posts: 4783
Joined: Mon Sep 27, 2010 6:01 pm

Re: How are Development Kits for portables made?

Postby 10$man » Thu May 10, 2012 1:21 pm

Xian Nox wrote:
10$man wrote:Since we don't know what language it is, we only know that it's based of C, it would be logical to say a C based compiler.
I got what you mean, but I think it would be more accurate to call it an unknown C-based language compiler.

Alright, I understand know :P

Nickolas wrote:This thread is becoming a bit funny :lol: I think he means a language with the same syntax/grammar with C. A brand new language.

I think he already explained that :|

m0skit0 wrote:Oh ok, I understand now. You should have said it like Xian Nox points out.

Why would you invent a new language based on C? What are the benefits, aka, why would you do so? And anyway, you would have to translate it into machine code at the end, no matter what intermediate language(s) you're using.

I wouldn't, I don't have that kind of time. If somebody did that, it would be so that when it was broken down to machine code it could be more optimized for the system itself (Gameboy or PSP).
10$man
 
Posts: 53
Joined: Thu Feb 03, 2011 9:18 pm

Re: How are Development Kits for portables made?

Postby m0skit0 » Thu May 10, 2012 2:43 pm

I'm not talking about you. When you say "why would you do X" it actually means "why would someone do X". It's an impersonal "you".

10$man wrote:If somebody did that, it would be so that when it was broken down to machine code it could be more optimized for the system itself (Gameboy or PSP).

If so, then it makes no sense since it's very hard to find a language which compilers are as optimized in generating assembly (and thus machine code) than C. Thus trying to write a language for a specific platform/architecture is a waste of time. For that you already have assembly ;)
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
User avatar
m0skit0
Guru
 
Posts: 4783
Joined: Mon Sep 27, 2010 6:01 pm

Re: How are Development Kits for portables made?

Postby 10$man » Thu May 10, 2012 8:45 pm

m0skit0 wrote:I'm not talking about you. When you say "why would you do X" it actually means "why would someone do X". It's an impersonal "you".

10$man wrote:If somebody did that, it would be so that when it was broken down to machine code it could be more optimized for the system itself (Gameboy or PSP).

If so, then it makes no sense since it's very hard to find a language which compilers are as optimized in generating assembly (and thus machine code) than C. Thus trying to write a language for a specific platform/architecture is a waste of time. For that you already have assembly ;)


I understand ;)

Well, if you where making it for a public release so that anyone can code in C and have it run faster then the already out GBDK, then it could be not a waste of time. Also, I mean Gameboy specific optimization. But, I understand what your saying.
10$man
 
Posts: 53
Joined: Thu Feb 03, 2011 9:18 pm

Re: How are Development Kits for portables made?

Postby m0skit0 » Fri May 11, 2012 7:20 am

GB specific optimization could be included in a custom C compiler as well. Since all architectures are based on the same universal Von Neumann design, it's easier to optimize the C compiler rather than creating a whole new language for each architecture. That's a waste of time, money and effort for really very little benefit. It's not a good engineering idea.
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
User avatar
m0skit0
Guru
 
Posts: 4783
Joined: Mon Sep 27, 2010 6:01 pm

Re: How are Development Kits for portables made?

Postby 10$man » Fri May 11, 2012 5:27 pm

m0skit0 wrote:GB specific optimization could be included in a custom C compiler as well. Since all architectures are based on the same universal Von Neumann design, it's easier to optimize the C compiler rather than creating a whole new language for each architecture. That's a waste of time, money and effort for really very little benefit. It's not a good engineering idea.

Alright, I wasn't planning on it. I was just asking. Thank you for your time!
10$man
 
Posts: 53
Joined: Thu Feb 03, 2011 9:18 pm

Previous

Return to Programming

Who is online

Users browsing this forum: No registered users and 0 guests