-
Notifications
You must be signed in to change notification settings - Fork 17
Demo Day
C4Phone edited this page Dec 12, 2015
·
45 revisions
Formal attire
In fact, C++14
or C++1y
- May reminds you of
Swift
's!
operator (auto unboxing) - If you are not sure what type it is, then it is
Maybe
Type. - Auto unboxing (through operator
+
overload), existence check - Sample Usage:
Maybe<Int> value = hashTable(key);//no need to check if exists or not
-
>>
overload for lambda (DETAILS HERE)
- With only 2 abstract function: read() and write()
- File descriptor IS the implementation of fops
- open() is constructor and close() is destructor
- C++ constructor cannot fail? Wrap it in Maybe type
- Driver knows nothing about the file system
-
AutoSpinLock
andunique_ptr
- Through using constructor & destructor, when the lock is out of scope, it will be auto released.
- Sample Usage:
AutoSpinLock lock(&mouse_draw_lock);//done, that's all!
#####unique_ptr
- Ported from
boost
library - Everything malloc() will be automatically free()
- So,it is GC
Using slabs with template metaprogramming
Implemented sbrk
- whole C std, ready for use
- We implemented DMA driver instead of PIO for maximum efficiency
- Driver for Sound Blaster 16.
- It enables our OS to access VBE and switch to HD GUI mode.
- Left/Right/Double Click, Move support
- We have a live stream for the process Rendering mouse in our OS LIVE
- And we hit the Top 1 and get Featured! WOW
lseek
, lstat
, sbrk
- Duang!~~~
- With Desktop, Window System, Mouse and
DrawNikita
&DrawTAs
- HD Display Support
- Font Display Support
(Commented out)
Is this already implemented?