[Ffmpeg-devel] Re: FFMPEG code a mess

Måns Rullgård mru
Mon Sep 19 10:45:41 CEST 2005


G?bor Farkas said:
> M?ns Rullg?rd wrote:
>> G?bor Farkas <gabor at nekomancer.net> writes:
>>
>>
>>>M?ns Rullg?rd wrote:
>>>>Java can be handy sometimes, but there are a few things that annoy
>>>>me:
>>>>- Everything has to be an object.
>>>
>>>int/char/boolean and stuff like that does not have to be an object.
>>
>>
>> That's surely an oversight.
>>
>>
>>>but isn't it the same in C?
>>>you have some basic types and then you have to create structs. in
>>>which way is it different from classes?
>>
>>
>> Functions.
>
> static methods could solve this problem for you

They still need a class context to live in.  If you had ever worked on a JVM
implementation you'd know that this is far more complicated than plain ol' C
functions.

>>>>- No unsigned types.
>>>
>>>why do you need them? what would  you like to do with them?
>>
>>
>> Same reason you'd need them anywhere: to store unsigned numbers.
>
> (phew, it would be nice if you somehow could answer to 3 different mails
> somehow collectively)

Well, I suppose I could anticipate your future mails, and reply to them in
advance.

> please read my answers to the other poster's mails on this topic.
>
> and, if it REALLY matters to you to STORE those numbers IN MEMORY in the
> unsigned form, i think maybe java is not the most suitable language. i

That's what I started off saying.  You've just proven my point.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list