Why I don't like files

Discussions on more advanced topics such as monolithic vs micro-kernels, transactional memory models, and paging vs segmentation should go here. Use this forum to expand and improve the wiki!
emarkus
Posts: 4
Joined: Wed Mar 21, 2012 10:28 am

Re: Why I don't like files

Post by emarkus »

I don't like files
I don't like sql databases

I like objects and single adress space
I like managed code (java, c#) and garbage collector...

when i code an adress management software, i don't want to make a difference between objects in ram, files on harddisk, entrys on database.

i want to start the app and see the objects. as app programmer i don't care if my storage is on ram, database, files, or in the cloud!

this is my dream of an OS...
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Why I don't like files

Post by Solar »

I remember a time when the Unix people were convinced that everything was a file. Worked fine for some things, works abysmal for others, because not all things are files.

I feel it's the same with this idea of all-pervasive object-ness. As an app programmer, I do care whether some data is in local RAM or in the cloud. Not always, but I wouldn't want to have personal or cryptographic data in the cloud. Or my proxy cache...
Every good solution is obvious once you've found it.
User avatar
bluemoon
Member
Member
Posts: 1761
Joined: Wed Dec 01, 2010 3:41 am
Location: Hong Kong

Re: Why I don't like files

Post by bluemoon »

You may present a unified interface for applications.

However, the kernel-side should be aware it is dealing with RAM, disk, cloud storage or tapes in order to perform necessary optimizations.
User avatar
Yoda
Member
Member
Posts: 255
Joined: Tue Mar 09, 2010 8:57 am
Location: Moscow, Russia

Re: Why I don't like files

Post by Yoda »

emarkus wrote:I don't like ...
i want to start the app and see the objects. as app programmer i don't care if my storage is on ram, database, files, or in the cloud!

this is my dream of an OS...
The "Phantom OS" is your dream.
Everything in this OS is persistent object. No application startup, no files, no difference between RAM and HDD (for application)... all as you described.
Yet Other Developer of Architecture.
OS Boot Tools.
Russian national OSDev forum.
emarkus
Posts: 4
Joined: Wed Mar 21, 2012 10:28 am

Re: Why I don't like files

Post by emarkus »

@Yoda: Thanks for the link!

This is exactly what i searched for!
Post Reply