Skip to main content

Home/ Programming Everything!/ Group items matching "coding" in title, tags, annotations or url

Group items matching
in title, tags, annotations or url

Sort By: Relevance | Date Filter: All | Bookmarks | Topics Simple Middle
Andrey Karpov

Can Tools Make Coding Too Easy? - 0 views

  •  
    I caught a wonderful article on Dzone today by Jonas Gauffin titled "How Resharper rocks my average work day". In this article Jonas talks about a tool he uses regularly called "Resharper" that makes common tasks a bit more automated when coding in C#. This article reminded me that we are continuously developing better and better tools that help us write code. But is there a point where we are going to go too far? If you think about it, in a bit of a paranoid type of way, this might even be the beginning of computers writing code on their own without us. For fear of being labeled as some kind of Amish coder who is stuck on the ways of the past, I assure you nothing is further from the truth. I do however like to reflect from time to time on where we are going in our coding evolution.
Andrey Karpov

Will It Optimize? - 0 views

  •  
    See how well you know (or can anticipate) gcc's optimizer. For each question, the left box contains some code, while the right box contains code that purports to do the same thing, but that illustrates a particular optimization. Will gcc apply that optimization? Put another way, will the code on the left be as fast as the code on the right, when compiled with an optimizing gcc?
Andrey Karpov

Yes, your code does need comments - 0 views

  •  
    I imagine that this post is going to draw the ire of some. It seems like every time I mention this on Twitter or anywhere else there is always some pushback from people who think that putting comments in your code is a waste of time. I think your code needs comments, but so we have a mutual understanding, lets qualify that.
Andrey Karpov

20 issues of porting C++ code on the 64-bit platform - 0 views

  •  
    Program errors occurring while porting C++ code from 32-bit platforms on 64-bit ones are observed. Examples of the incorrect code and the ways to correct it are given. Methods and means of the code analysis which allow to diagnose the errors discussed, are listed.
Andrey Karpov

Home Blog Re-checking the ReactOS project - a large report Re-checking the ReactOS project - a large report - 0 views

  •  
    The ReactOS project is rapidly developing. One of the developers participating in this project suggested that we re-analyzed the source code, as the code base is growing fast. We were glad to do that. We like this project, and we'll be happy if this article helps the developers to eliminate some bugs. Analysis was performed with the PVS-Studio 5.02 code analyzer.
Andrey Karpov

What comments hide - 0 views

  •  
    Much is said about good and harm of comments in program code and a single opinion hasn't been worked out yet. However, we've decided to take a look at comments from a different viewpoint. Can comments serve as an indication of hidden errors for a programmer studying the code?
Aasemoon =)

Facebook Developers | HipHop for PHP: Move Fast - 0 views

  • Today I'm excited to share the project a small team of amazing people and I have been working on for the past two years; HipHop for PHP. With HipHop we've reduced the CPU usage on our Web servers on average by about fifty percent, depending on the page. Less CPU means fewer servers, which means less overhead. This project has had a tremendous impact on Facebook. We feel the Web at large can benefit from HipHop, so we are releasing it as open source this evening in hope that it brings a new focus toward scaling large complex websites with PHP. While HipHop has shown us incredible results, it's certainly not complete and you should be comfortable with beta software before trying it out. HipHop for PHP isn't technically a compiler itself. Rather it is a source code transformer. HipHop programmatically transforms your PHP source code into highly optimized C++ and then uses g++ to compile it. HipHop executes the source code in a semantically equivalent manner and sacrifices some rarely used features — such as eval() — in exchange for improved performance. HipHop includes a code transformer, a reimplementation of PHP's runtime system, and a rewrite of many common PHP Extensions to take advantage of these performance optimizations.
Aasemoon =)

Doing C-code generation better: from graphical code to embedded target | Industrial Control Designline - 0 views

  • One challenge designers face is the need to translate their algorithms into code for use in embedded targets. The task has proven to be long and prone to error. This article examines how the use of high-level design tools and C code generation capabilities improves the design flow by exploring different use cases and how to reduce the amount of embedded technology expertise required to program embedded targets.
Andrey Karpov

Could you help me, please? Static analysis of C++Builder and WinRT projects. - 0 views

  •  
    m addressing developers with a specific request. Our plans for the PVS-Studio 5.00 static code analyzer are to implement integration with the C++Builder environment and support for the C++/CX language extension. Unfortunately, we have very few projects developed in that environment or involving that extension, and we find it therefore difficult to test the new functionality. That's why I'm asking the community to share the source codes of your projects with us. Now let's speak of it all in detail. Continue: http://www.viva64.com/en/b/0184/
Andrey Karpov

100% code coverage by static analysis - is it that good? - 0 views

  •  
    Many programmers think that the more error messages a static code analyzer produces, the better. It would be true if all the messages hit the bull's eye, as they say. But this is impossible: the same warnings may be considered both true and false by different programmers depending on the project type. There is also one more important and interesting thing. It may appear that a line between a false positive and a real error is very thin. Let's have a look at one of these cases.
Aasemoon =)

Develop Web Apps in F# with WebSharper | .NET Zone - 0 views

  • In ASP.NET development, F# also offers productivity advantages over VB and C#.  F# is different because it is statically checked and type-safe.  It addresses weaknesses in ASP.NET development like untyped values, complex form construction, and using strings for IDs and method names that connect markup with code-behind (class-files).  Writing a web application in F# on the WebSharper platform can be less-time consuming if a developer is not great at writing web apps in JavaScript.  Through WebSharper, developers can write a web app using a large subset of F# and .NET core libraries and then just let WebSharper map the code to JavaScript.  WebSharper can integrate with ASP.NET applications, but it is different from the standard approach because it builds applications from miniature web pages called "pagelets".  The pagelets correspond to functions on the client-side and they are automatically translated into JavaScript.   WebSharper supports a wide range of JavaScript libraries, making it easy for developers to optimize their code in whatever way they choose.  jQuery, qooxdoo, Flapjax, and Yahoo UI are all supported by WebSharper.  The leap from F# to JavaScript is manageable because both are functional languages that support lambda expressions and closures.  Another unique part of WebSharper is a "formlet".  A formlet is a special pagelet that provides form functionality.  Formlets in Web Sharper run and validate on the client, submitting their result to a either a client- or a server-side callback.
Aasemoon =)

Coding 4 DNA | LarryLarsen | Channel 9 - 0 views

  • Andrew Phillips holds the title of Scientist with Microsoft Research Cambridge, and he's working on a method of programming that compiles into DNA. Part of this involves a visual programming language called Stochastic Pi Machine, or SPiM. This system models biological processes to help give researchers feedback on how organisms will react to modifications. The hope is that this can be used to help scientists program for large biological systems using modular components compiled to DNA. Yes, I’m in way over my head here, but I do my best to ask Andrew about the role this will play in medical treatment going forward, what it means to DNA computing, and the ability of back-engineering the genetic code we don’t use now.
Aasemoon =)

Data Representation Synthesis | Lambda the Ultimate - 0 views

  • We consider the problem of specifying combinations of data structures with complex sharing in a manner that is both declarative and results in provably correct code. In our approach, abstract data types are specified using relational algebra and functional dependencies. We describe a language of decompositions that permit the user to specify different concrete representations for relations, and show that operations on concrete representations soundly implement their relational specification. It is easy to incorporate data representations synthesized by our compiler into existing systems, leading to code that is simpler, correct by construction, and comparable in performance to the code it replaces.
Andrey Karpov

Windows 8 app samples (C++, C#, VB.NET, JavaScript) - 0 views

  •  
    This sample pack includes all the app code examples developed for Windows 8. The sample pack provides a convenient way to download all the samples at once. The samples in this sample pack are available in C#, C++, VB.NET, and JavaScript.
Aasemoon =)

OOPHP- The Basics Of Classes And Objects - PHP Tutorials | Dream.In.Code - 1 views

  • As PHP is not a strictly OOP language, it is very easy to slip into sloppier and more procedural code as well as program in PHP one's entire career and not deal with OOP at all. In this tutorial, I will cover the following: Why use OOP over procedural programming, as I have been doing?Encapsulation and modularityBasic class design
Aasemoon =)

Demonstrating a Mini-Compiler with a Stack-Machine Program that Calculates Factorials - DDJ - 0 views

  • In Stack Machines, Expression Evaluation, and the Magic of Reverse Polish, I showed how expressions can be evaluated by rewriting them in reverse Polish and translating this into machine-code instructions for a stack machine. I demonstrated with a stack-machine interpreter that I'd written as part of a working model of a Pascal compiler. But as well as expressions, the compiler needs to compile assignments and jumps, so — in my progress towards explaining the compiler — I'm going to extend the machine code so it can handle these. I'll demonstrate by interpreting a program that calculates five factorial.
Aasemoon =)

C# - Practical usage of High-Order Functions « Naveen's Blog - 0 views

  • I happened to write this code sometime back that took Excel data and converted it to specific xml format. It was a simple Linq statement and here is the code
Aasemoon =)

Calling F# from COBOL and Back Again - CodeProject - 0 views

  • Running languages on .NET is ultra-powerful. Using managed COBOL (from Micro Focus), it is possible to use F# code to work with COBOL code. Imagine a Cloud based F# map reduce system consuming legacy COBOL - yes, that really is on the horizon.
Aasemoon =)

untitled - 0 views

  • Andrew Phillips holds the title of Scientist with Microsoft Research Cambridge, and he's working on a method of programming that compiles into DNA. Part of this involves a visual programming language called Stochastic Pi Machine, or SPiM. This system models biological processes to help give researchers feedback on how organisms will react to modifications. The hope is that this can be used to help scientists program for large biological systems using modular components compiled to DNA. Yes, I’m in way over my head here, but I do my best to ask Andrew about the role this will play in medical treatment going forward, what it means to DNA computing, and the ability of back-engineering the genetic code we don’t use now
Aasemoon =)

C# Snippet Tutorial - Determining if Aero is Enabled | Switch on the Code - 0 views

  • Recently I was working on a project and the UI required minor tweaks depending on whether or not Aero was enabled. Fortunately, I came across an MSDN forum topic with the solution, so I thought I'd share.
  •  
    This came handy today....
1 - 20 of 116 Next › Last »
Showing 20 items per page