Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

FAT12 filesystem driver in js

alokmenghrajani (2602135) writes | about a year and a half ago

2

alokmenghrajani (2602135) writes "Usually, file system code is written in C. I figured it would be fun to write a "driver" in javascript. The current code loads a file system, reads the various data structures and then pretty prints the data."
Link to Original Source

cancel ×

2 comments

Sorry! There are no comments related to the filter you selected.

Javascript... (0)

Anonymous Coward | about a year and a half ago | (#42970261)

...is a powerful language and is potent enough to do this kind of things. But fun aside, can you find a practical use-case for this toy? Something like the usual Slashdot article conclusion about revolutionizing how we think about drivers/how we emulate insert-your-type-of-known-gaming-portable-or-embedded-device. It doesn't really come as news for guys seeking sensational nerdgasms...

Re:Javascript... (1)

alokmenghrajani (2602135) | about a year and a half ago | (#42970707)

This kind of project can lead to better coding projects for students/learning purpose, since you can focus on algorithms, not run into buffer overflows and can easily visualize things. E.g., in js (and most dynamic languages), you can easily json dump your data structures when debugging.
Check for New Comments
Slashdot Login

Need an Account?

Forgot your password?

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>