TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Carbide – A New Programming Environment

628 pointsby antimatter15over 8 years ago

48 comments

antimatter15over 8 years ago
Hey HN!<p>I&#x27;m one of the creators of Carbide, and I&#x27;m really excited to share it with you all.<p>We&#x27;re thinking of releasing Carbide as open source in the coming weeks if there&#x27;s a community interested in building stuff on top of it.<p>One of the areas we&#x27;d appreciate help with is adding support for different languages— Python, Scala, Haskell, Rust, etc.<p>Other than that, general feedback &#x2F; questions welcome.<p>We&#x27;ve scrabling to turn off jet-engine mode on the website :)
评论 #12355945 未加载
评论 #12355831 未加载
评论 #12358433 未加载
评论 #12356196 未加载
评论 #12355810 未加载
评论 #12355739 未加载
评论 #12355798 未加载
评论 #12355791 未加载
评论 #12356396 未加载
评论 #12356085 未加载
评论 #12355717 未加载
评论 #12356221 未加载
评论 #12360146 未加载
评论 #12357100 未加载
评论 #12358594 未加载
评论 #12358194 未加载
评论 #12356272 未加载
评论 #12357853 未加载
评论 #12357986 未加载
评论 #12355835 未加载
kbartover 8 years ago
The page is surprisingly uninformative. It took me good 5 minutes of looking for &quot;download&quot; button before realizing that it&#x27;s an in-browser IDE. A big &quot;Try it now&quot; button on top of the page would do wonders. A short, one sentence description of <i>what</i> it is would also be helpful, because &quot;new kind of programming environment&quot; reminds something from managers&#x27; meeting slides. Anyway, good job and thanks for making it available to us, I was looking for something like this few months back, I&#x27;ll sure give it a try.
评论 #12358144 未加载
评论 #12357596 未加载
评论 #12358204 未加载
评论 #12362996 未加载
chriswarboover 8 years ago
Looks like a cool project, but I can&#x27;t scroll very far down the site before my browser crashes. I&#x27;ve reproduced this several times, here&#x27;s the terminal output if it helps:<p><pre><code> $ conkeror https:&#x2F;&#x2F;alpha.trycarbide.com ...... JavaScript strict warning: https:&#x2F;&#x2F;alpha.trycarbide.com&#x2F;, line 603: SyntaxError: test for equality (==) mistyped as assignment (=)? JavaScript strict warning: https:&#x2F;&#x2F;alpha.trycarbide.com&#x2F;, line 604: SyntaxError: test for equality (==) mistyped as assignment (=)? JavaScript strict warning: https:&#x2F;&#x2F;alpha.trycarbide.com&#x2F;, line 605: SyntaxError: test for equality (==) mistyped as assignment (=)? JavaScript strict warning: https:&#x2F;&#x2F;alpha.trycarbide.com&#x2F;, line 606: SyntaxError: test for equality (==) mistyped as assignment (=)? JavaScript strict warning: https:&#x2F;&#x2F;eponymous-labs.github.io&#x2F;carbide-splash&#x2F;static&#x2F;main.js, line 162: SyntaxError: in strict mode code, functions may be declared only at top level or immediately within another function JavaScript strict warning: https:&#x2F;&#x2F;eponymous-labs.github.io&#x2F;carbide-splash&#x2F;static&#x2F;main.js, line 201: ReferenceError: assignment to undeclared variable diff Console error: [JavaScript Warning: &quot;window.controllers is deprecated. Do not use it for UA detection.&quot; {file: &quot;chrome:&#x2F;&#x2F;conkeror&#x2F;content&#x2F;window.js&quot; line: 331}] Category: DOM Core Segmentation fault</code></pre>
评论 #12355760 未加载
评论 #12356284 未加载
评论 #12355925 未加载
评论 #12355942 未加载
nostrademonsover 8 years ago
I think that something <i>like</i> this will probably be the future of programming, but Carbide itself needs to dial it back and focus on which data visualizations give the biggest bang for the least obtrusiveness.<p>Apple&#x27;s been moving in a similar direction with Swift playgrounds, and recent Java IDEs (IntelliJ, and I think Eclipse) will display the values of variables next to the line of code when you pause in the debugger. These are both useful features. They get cluttered really quickly, though, and in the playground case take you out of your normal development flow.<p>If you want this to be impactful, focus on delivering information at your fingertips without delivering information overload. The core idea of being able to inspect &amp; manipulate run-time values alongside the code that generates them is sound. The implementation - with lots of fancy gadgets that overshadow the code itself - needs some design love.
评论 #12355653 未加载
评论 #12355595 未加载
评论 #12355837 未加载
评论 #12359879 未加载
gnuvinceover 8 years ago
&gt; Requires no installation or setup<p>This is <i>not</i> something I want; if a product I use is available only via a web site and the company goes under, the product goes away with it. If it&#x27;s installed on my hard drive, I can keep using the product.
评论 #12358172 未加载
jc4pover 8 years ago
This looks like it could be cool. I&#x27;m mostly a plaintext editor kind of programmer but a IDE that helps me get my job done better would obviously be the better solution.<p>There&#x27;s... a lot happening here though. What does:<p>&gt; Comments live in a Rich Text sidebar #LiterateProgramming<p>mean? I played around with some samples and it seems that there&#x27;s a method for displaying text or something?<p>I was hoping it&#x27;d be an inline `&#x2F;&#x2F; yeah I know doing +1 looks wrong but it&#x27;s because` --&gt; automatic transcribing over to a sidebar but I don&#x27;t know what&#x27;s actually happening.<p>What does:<p>&gt; Imports modules automatically from NPM or GitHub<p>mean? Does it mean &quot;import&quot; in the sense that you don&#x27;t have to write the import statement, or in the `npm install` sense? What happens if I misspell a package name and there is a malicious package under that name? Will it auto install and auto run the post install scripts??
评论 #12357468 未加载
wodenokotoover 8 years ago
Looks interesting, but the website is so ressource intensive that I practically can&#x27;t scroll down on it. I gave up reading what it is.
评论 #12355547 未加载
评论 #12355514 未加载
monkmartinezover 8 years ago
Cool looking site&#x2F;project... However, the web page kicked the fans on my laptop into jet mode.<p>Is this like Jupyter or built with Jupyter tech?
评论 #12355594 未加载
pranceover 8 years ago
I was pretty excited about LightTable (which has some similar ideas) when it started out, but then Chris Granger went on to another project and LightTable was left hanging. They open-sourced it, but developer uptake was slow initially and there wasn&#x27;t much progress. Commits&#x2F;pull requests seem to be better now (2 years on), but e.g. the blog is still very much inactive, and the last release is more than half a year ago.<p>So for me, I&#x27;d only try yet another IDE if I have enough confidence that it will live long enough. The commitment of the original team is of course a big factor, but as was seen with LightTable and other projects, that can change quickly. So I would require that either - it is commercial and has enough investment&#x2F;backing, - it is open-sourced and gets enough dev uptake quickly, or - I believe so much in the concept that I&#x27;d try it even if the other two points are not satisfied.<p>Speaking of functionality, however, there isn&#x27;t any mention of refactoring capacities. To me, that&#x27;s probably the #1 feature why I&#x27;d use an IDE instead of just an editor in the first place. I&#x27;d consider the in-place partial debugging display only as a nice add-on, but nothing I would throw out a mature IDE with proper refactoring, search (for definitions, references) and other typical IDE functionality for.
rasjaniover 8 years ago
There is, or was IDE with the same name: <a href="https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Carbide.c%2B%2B" rel="nofollow">https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Carbide.c%2B%2B</a>
评论 #12360154 未加载
NarcolepticFrogover 8 years ago
I&#x27;m curious about how the backwards computations work - how do you detect when the backwards computation can be easily calculated? For example, if we hash some input string and then change the value of the hash, it should be very difficult to do the backwards computation.<p>Does it literally do gradient descent on the input to try to match the output (as is suggested by the backpropagation terminology?) Can it handle discrete valued outputs?
评论 #12356740 未加载
jomamaxxover 8 years ago
First - super cool.<p>Second - I&#x27;m at a loss for exactly what it does. Sorry. I get the 1000 mile-high view, and I get some of the super specific examples. But I&#x27;m not sure how it applies to most js progamming which is much more mundane than the very specific examples given.<p>Maybe you could add a section that takes a much more &#x27;basic&#x27; introductory approach?<p>Again, great work.
elliotecover 8 years ago
But, why?<p>Like whats the purpose of using this as opposed to vim and a browser?<p>And what do they mean that it requires no installation or setup? Is it not a native program?<p>How does one use this to give it a try?<p>None of this was clear after a few reads through that page.
评论 #12356089 未加载
评论 #12355833 未加载
评论 #12355607 未加载
rajingtonover 8 years ago
<a href="https:&#x2F;&#x2F;alpha.trycarbide.com&#x2F;new" rel="nofollow">https:&#x2F;&#x2F;alpha.trycarbide.com&#x2F;new</a> is the link to try it out. Not sure why it&#x27;s getting so much hate, the widgets are just icing on the cake, it&#x27;s like tonic.dev on steroids. You only need to look at the Python community to see how powerful notebooks can be.
pjmlpover 8 years ago
Carbide was the name of the latest IDE version that Nokia produced for Symbian.<p>Have you researched the name?
MadWombatover 8 years ago
This seems like a really cool idea. Sort of like Jupyter notebooks the way they should be done.<p>I agree with the sentiment that the website could be a bit more comprehensive. I saw &quot;requires no installation&quot; immediately, but then I started looking for a link to actually try it out and couldn&#x27;t find it. And only then I realized that you can only try it on example notebooks. Or can I write my own code and I just didn&#x27;t find the way to do it?<p>I tried a couple of example notebooks and unfortunately it was painfully slow to do anything. XOR network cell took some 5 seconds to process. Typing code was laggy, sliders took really long time to update etc. The C-Enter shortcut didn&#x27;t work, I had to click the button with my mouse. So it seems like you have an awesome project, but it still needs some work.
ergestover 8 years ago
Very cool! Seems similar to what Brett Victor demos here: <a href="https:&#x2F;&#x2F;vimeo.com&#x2F;36579366" rel="nofollow">https:&#x2F;&#x2F;vimeo.com&#x2F;36579366</a>
评论 #12356171 未加载
评论 #12357472 未加载
fake-nameover 8 years ago
&quot;A new programming environment&quot; <i>for javascript</i>.<p>Welp, there goes my interest.
评论 #12356018 未加载
评论 #12355552 未加载
taneqover 8 years ago
Wow, the back-propagation thing is very cool! Although it would take me a long time to trust something like that enough to use it.<p>Is there any way to use it offline? (I guess if it&#x27;s open sourced then at the least, you could run it on a local web server.)
RBerenguelover 8 years ago
Every time I see a project in this space I wonder why I never got to finish a similar (in spirit) one I had. Multi-language REPL (with &quot;data translation&quot; across languages for specific data types, so you could pass a javascript array to APL, or load a CSV file as a function in APL and send a column as a Javascript array) and built in visualisations for standard types (a matrix could show a heatmap, for instance, vectors barplots or sparklines, specific arrangements of JSON were chord plots).<p>The goal was just to make a tool where small-scale data munching was easy (so you could get a plot of a small timeseries right now, no matplotlib, no ggplot2, no gnuplot: just having the variable on the screen meant the graph was there automatically) and as painless as possible. Of course, I didn&#x27;t advance much because I needed to rewrite everything that I had working so it was easy to extend, and I found another shinier thing to work on... But that still sits in my &quot;someday&quot; code folder.<p>For now, Apache Zeppelin is almost there in terms of what I want, and has spark in it so...
评论 #12359156 未加载
hibbeligover 8 years ago
How does this compare to LightTable?
评论 #12355627 未加载
nikki93over 8 years ago
This is awesome!<p>One of the things I&#x27;ve been thinking about lately is what are the languages that lend themselves to &quot;true&quot; livecoding. Like what if you want to change the class hierachy while you&#x27;re already in a game and the objects are moving around? What if you wanna move a door in the in game editor mid-level but merge this edit back at the start of the level?<p>Turns out livecoding and live property editing interfaces are an entry into thinking about the next question: what are the abstraction and logic storage models that allow for very radical live coding changes as your app is still running and help you explore?<p>So far I have liked the idea of prototype inheritance but with the objects stored in a reduxy immutable situation. It seems to get at both the functional and OO side of the &quot;expression problem.&quot;
rezashirazianover 8 years ago
This is feels somewhat similar to Swift&#x27;s playground.<p>I think every language should have something like this. Now that we&#x27;ve been compiling and highlighting errors in real time for such a long time, it only makes sense to do the same at run time and provide real time visualization of the program in action.
sebastianconcptover 8 years ago
I love instant feedback, it really changes the way you can create code because your cognitive system is unloaded of many assumptions to rely on real results (in-place evaluated feedback). For someone that used to work in Smalltalk this is a move in the right direction in IDE design.
scottmfover 8 years ago
I must be missing something. Link to download or Github?
评论 #12355416 未加载
pavlovover 8 years ago
Nokia used to make an IDE for the Symbian operating system called Carbide:<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Carbide.c%2B%2B" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Carbide.c%2B%2B</a><p>The memory of Symbian C++ makes me shudder.
评论 #12360175 未加载
electricloveover 8 years ago
Very cool! Some of this reminds me of the talk that Bret Victor gave at CUSEC 2012: <a href="https:&#x2F;&#x2F;vimeo.com&#x2F;36579366" rel="nofollow">https:&#x2F;&#x2F;vimeo.com&#x2F;36579366</a>
rkhoover 8 years ago
On a mobile webview I noticed that the auto play video took over the screen and opened several instances that I had to keep closing one after another. I didn&#x27;t get much further after that.
zubatover 8 years ago
OK. I don&#x27;t know if Carbide was designed for this or not but I suddenly had a vision of a data viewer widget that is just an entire notebook system with a custom initial state. That would be pretty handy and I could imagine folks chucking it into a web page without extensive work.<p>For applications I have no expectations that these kinds of systems scale up or give the touted wins. But they are great for easing the exploration process.
hugozapover 8 years ago
This is great. Tools like this are useful when exploring a problem, it&#x27;s very handy to have the instant feedback. Using the widgets to tweak things is also very cool, I could definitely integrate this into my workflow ( if I can install it locally ).
stockkidover 8 years ago
Feedback: I did not want to read all the texts (it&#x27;s too much) and just wanted to try it out. But I couldn&#x27;t easily find out a way to try. After scrolling down a lot, I finally found some example notebooks.<p>Maybe &#x27;try out an example&#x27; button at the top?
Waterluvianover 8 years ago
This looks perfect for live demos and interactive gists of relatively straightforward code.
outworlderover 8 years ago
The terminology is interesting. &quot;Notebooks&quot;, &quot;Kernels&quot;...<p>So, Jupyter-like?
pmontraover 8 years ago
The most interesting feature is how it computes the inverse of the program to yield the inputs that produce a given output. I&#x27;m not sure if it&#x27;s useful but it&#x27;s cool.<p>But saving to public gists, no thanks.
rchover 8 years ago
Seems like this would be a great foundation for building a CMS backend interface. I&#x27;d try it in that context before calling it a programming environment.
fiatjafover 8 years ago
Seems awesome. I will probably never use it because it is not flexible enough to run anywhere and on VPSes without friction, but I sincerely hope you succeed.
polskibusover 8 years ago
Would love to see an example on how to use it with D3. Live refresh is very useful when working on d3 visualizations scripts.
peternickyover 8 years ago
Awesome work!! Please release the source!
partycoderover 8 years ago
Reminds me of the &quot;manipulate&quot; package for R. This takes the concept really further though.
donretagover 8 years ago
Am I the only that thinks of Union Carbide (and the disaster) when they see the word carbide?
didibusover 8 years ago
Is it only a notebook style environment? Or can it be used as a modern IDE for real programming?
pbreitover 8 years ago
Looks interesting.<p>What sorts of use cases were you envisioning?<p>Would it work or make sense for ad hoc mongo querying?
kiliancsover 8 years ago
The site skyrocketed Firefox&#x27;s CPU usage, unfortunately.
_prototype_over 8 years ago
Their neural network example is broken
skorkmazover 8 years ago
sorry for pointless comment but looks really cool
cercatrovaover 8 years ago
Open source?
kasajianover 8 years ago
dafuq!
antarover 8 years ago
Looks limiting.